Skip to content

Commit

Permalink
core: NoCollectorreturns none instead of unknown current span
Browse files Browse the repository at this point in the history
  • Loading branch information
lenaschoenburg committed Mar 21, 2021
1 parent d4d221f commit 76e6462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracing-core/src/dispatch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ impl Collect for NoCollector {
fn exit(&self, _span: &span::Id) {}

fn current_span(&self) -> span::Current {
span::Current::unknown()
span::Current::none()
}
}

Expand Down

0 comments on commit 76e6462

Please sign in to comment.