Skip to content

Commit

Permalink
whoops it needs to be public for it to work
Browse files Browse the repository at this point in the history
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
  • Loading branch information
hawkw committed May 24, 2020
1 parent 763a296 commit 85995a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracing/src/span.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ pub trait Instrumented {
fn finish(self) -> Self::Output;
}

struct InstrumentedFn<F>(F, Span);
pub struct InstrumentedFn<F>(F, Span);
impl<F: FnOnce() -> T, T> Instrumented for InstrumentedFn<F> {
type Output = T;
fn finish(self) -> Self::Output {
Expand Down

0 comments on commit 85995a5

Please sign in to comment.