diff --git a/src/filters/trace.rs b/src/filters/trace.rs index 8e6bb1c98..74abbe80f 100644 --- a/src/filters/trace.rs +++ b/src/filters/trace.rs @@ -209,18 +209,6 @@ impl<'a> Info<'a> { } } -struct OptFmt(Option); - -impl fmt::Display for OptFmt { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - if let Some(ref t) = self.0 { - fmt::Display::fmt(t, f) - } else { - f.write_str("-") - } - } -} - mod internal { use futures::{future::Inspect, future::MapOk, FutureExt, TryFutureExt};