diff --git a/tracing-subscriber/src/subscribe/context.rs b/tracing-subscriber/src/subscribe/context.rs index 183e1cecc..d322d5dff 100644 --- a/tracing-subscriber/src/subscribe/context.rs +++ b/tracing-subscriber/src/subscribe/context.rs @@ -315,15 +315,14 @@ 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. ///