diff --git a/tracing/src/span.rs b/tracing/src/span.rs index 5bbe4a7948..50de0557d4 100644 --- a/tracing/src/span.rs +++ b/tracing/src/span.rs @@ -337,7 +337,7 @@ pub trait Instrumented { fn finish(self) -> Self::Output; } -struct InstrumentedFn(F, Span); +pub struct InstrumentedFn(F, Span); impl T, T> Instrumented for InstrumentedFn { type Output = T; fn finish(self) -> Self::Output {