Skip to content

Commit

Permalink
rm dead code
Browse files Browse the repository at this point in the history
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
  • Loading branch information
hawkw committed Jul 17, 2020
1 parent 9349739 commit 5d759a2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/filters/trace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,18 +209,6 @@ impl<'a> Info<'a> {
}
}

struct OptFmt<T>(Option<T>);

impl<T: fmt::Display> fmt::Display for OptFmt<T> {
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};

Expand Down

0 comments on commit 5d759a2

Please sign in to comment.