Skip to content

Commit

Permalink
fix conflicting impls
Browse files Browse the repository at this point in the history
Signed-off-by: Eliza Weisman <[email protected]>
  • Loading branch information
hawkw committed Jul 5, 2019
1 parent 0dab342 commit 56ad85e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tracing-subscriber/src/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub trait Filter: 'static {
fn enabled(&self, metadata: &Metadata) -> bool;
}

pub trait FilterExt: Filter + crate::sealed::Sealed {
pub trait FilterExt: Filter {
fn or<B>(self, b: B) -> Or<Self, B>
where
Self: Sized,
Expand Down Expand Up @@ -125,10 +125,7 @@ where
}

// === impl FilterExt ===

impl<F: Filter> crate::sealed::Sealed for F {}

impl<F: Filter + crate::sealed::Sealed> FilterExt for F {}
impl<F: Filter> FilterExt for F {}

// === impl And ===

Expand Down

0 comments on commit 56ad85e

Please sign in to comment.