Remove now-obsolete note about location of skip_fmt

Now the diff from the merge base does not contain any hits for ^\+.*bytes
This commit is contained in:
Ian Jackson 2022-03-04 11:30:33 +00:00
parent ebfd734956
commit 6e1da0145b
1 changed files with 0 additions and 5 deletions

View File

@ -51,11 +51,6 @@ use std::fmt;
/// assert_eq!( format!("{:?}", &Wombat::default()), /// assert_eq!( format!("{:?}", &Wombat::default()),
/// "Wombat { visible: 0, invisible: .. }" ); /// "Wombat { visible: 0, invisible: .. }" );
/// ``` /// ```
//
// This function is here in tor-bytes because crates that want to use it will largely
// be trying to avoid dumping packet data.
// But, it may at some point want to move to a lower-layer crate.
// If we do that, we should `pub use` it here, if we don't want a semver break.
pub fn skip_fmt<T>(_: &T, f: &mut fmt::Formatter) -> fmt::Result { pub fn skip_fmt<T>(_: &T, f: &mut fmt::Formatter) -> fmt::Result {
/// Inner function avoids code bloat due to generics /// Inner function avoids code bloat due to generics
fn inner(f: &mut fmt::Formatter) -> fmt::Result { fn inner(f: &mut fmt::Formatter) -> fmt::Result {