From 7df7945f4df34f87405543371c6d85cd5f19b86d Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Tue, 2 Jul 2019 15:03:00 -0700 Subject: [PATCH] fix conflicting impls Signed-off-by: Eliza Weisman --- tracing-subscriber/src/filter.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tracing-subscriber/src/filter.rs b/tracing-subscriber/src/filter.rs index 372c4aff5f..7766a90bbc 100644 --- a/tracing-subscriber/src/filter.rs +++ b/tracing-subscriber/src/filter.rs @@ -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(self, b: B) -> Or where Self: Sized, @@ -125,10 +125,7 @@ where } // === impl FilterExt === - -impl crate::sealed::Sealed for F {} - -impl FilterExt for F {} +impl FilterExt for F {} // === impl And ===