diff --git a/tracing-core/src/dispatcher.rs b/tracing-core/src/dispatcher.rs index a3661817c0..c87c1d6c54 100644 --- a/tracing-core/src/dispatcher.rs +++ b/tracing-core/src/dispatcher.rs @@ -631,14 +631,14 @@ impl Dispatch { /// `T`. #[inline] pub fn is(&self) -> bool { - ::is::(&*self.subscriber) + ::is::(&self.subscriber) } /// Returns some reference to the `Subscriber` this `Dispatch` forwards to /// if it is of type `T`, or `None` if it isn't. #[inline] pub fn downcast_ref(&self) -> Option<&T> { - ::downcast_ref(&*self.subscriber) + ::downcast_ref(&self.subscriber) } }