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:
parent
ebfd734956
commit
6e1da0145b
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue