Skip to content

Commit

Permalink
Update tracing-subscriber/src/subscribe/mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkw authored Sep 26, 2022
1 parent 3b9a32e commit 582f3e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracing-subscriber/src/subscribe/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,7 @@ pub struct Identity {

#[derive(Clone, Copy)]
pub(crate) struct NoneLayerMarker(());
pub(crate) static NONE_LAYER_MARKER: NoneLayerMarker = NoneLayerMarker(());
static NONE_LAYER_MARKER: NoneLayerMarker = NoneLayerMarker(());

/// Is a type implementing `Subscriber` `Option::<_>::None`?
pub(crate) fn subscriber_is_none<S, C>(subscriber: &S) -> bool
Expand Down

0 comments on commit 582f3e9

Please sign in to comment.