diff --git a/src/ext.rs b/src/ext.rs index 37fa81496..fbbe59136 100644 --- a/src/ext.rs +++ b/src/ext.rs @@ -178,6 +178,7 @@ macro_rules! channel_read_impl { /// Extensions for `tracing::Span`. pub trait SpanExt { + /// Applies the provided function to the current span. fn with(fill: F) where F: Fn(Span),