Skip to content

Commit

Permalink
subscriber: Not is not, not or (#2249)
Browse files Browse the repository at this point in the history
## Motivation

Doc typo.

## Solution

Fix.
  • Loading branch information
CAD97 authored and hawkw committed Jul 29, 2022
1 parent f0663e8 commit 403d506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tracing-subscriber/src/filter/layer_filters/combinator.rs
Expand Up @@ -40,11 +40,11 @@ pub struct Or<A, B, S> {
/// If the wrapped filter would enable a span or event, it will be disabled. If
/// it would disable a span or event, that span or event will be enabled.
///
/// This type is typically returned by the [`FilterExt::or`] method. See that
/// This type is typically returned by the [`FilterExt::not`] method. See that
/// method's documentation for details.
///
/// [`Filter`]: crate::layer::Filter
/// [`FilterExt::or`]: crate::filter::FilterExt::or
/// [`FilterExt::not`]: crate::filter::FilterExt::not
pub struct Not<A, S> {
a: A,
_s: PhantomData<fn(S)>,
Expand Down

0 comments on commit 403d506

Please sign in to comment.