Skip to content

Commit 6a0af27

Browse files
CAD97hawkw
authored andcommitted
subscriber: Not is not, not or (#2249)
## Motivation Doc typo. ## Solution Fix.
1 parent 09da422 commit 6a0af27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tracing-subscriber/src/filter/layer_filters/combinator.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ pub struct Or<A, B, S> {
4040
/// If the wrapped filter would enable a span or event, it will be disabled. If
4141
/// it would disable a span or event, that span or event will be enabled.
4242
///
43-
/// This type is typically returned by the [`FilterExt::or`] method. See that
43+
/// This type is typically returned by the [`FilterExt::not`] method. See that
4444
/// method's documentation for details.
4545
///
4646
/// [`Filter`]: crate::layer::Filter
47-
/// [`FilterExt::or`]: crate::filter::FilterExt::or
47+
/// [`FilterExt::not`]: crate::filter::FilterExt::not
4848
pub struct Not<A, S> {
4949
a: A,
5050
_s: PhantomData<fn(S)>,

0 commit comments

Comments
 (0)