diff --git a/tracing-subscriber/src/layer/context.rs b/tracing-subscriber/src/layer/context.rs index 46254994f..5ab6f8482 100644 --- a/tracing-subscriber/src/layer/context.rs +++ b/tracing-subscriber/src/layer/context.rs @@ -316,11 +316,10 @@ where /// Returns an iterator over the [stored data] for all the spans in the /// current context, starting with the specified span and ending with the - /// root of the trace tree and ending with the current span. + /// root of the trace tree. /// ///
- /// Note: Compared toscope
this - /// returns the spans in reverse order (from leaf to root). Use + /// Note: This returns the spans in reverse order (from leaf to root). Use ///Scope::from_root
/// in case root-to-leaf ordering is desired. ///