Skip to content

Commit 85995a5

Browse files
committed
whoops it needs to be public for it to work
Signed-off-by: Eliza Weisman <[email protected]>
1 parent 763a296 commit 85995a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tracing/src/span.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ pub trait Instrumented {
337337
fn finish(self) -> Self::Output;
338338
}
339339

340-
struct InstrumentedFn<F>(F, Span);
340+
pub struct InstrumentedFn<F>(F, Span);
341341
impl<F: FnOnce() -> T, T> Instrumented for InstrumentedFn<F> {
342342
type Output = T;
343343
fn finish(self) -> Self::Output {

0 commit comments

Comments
 (0)