diff --git a/eyre/src/lib.rs b/eyre/src/lib.rs index b3167f8..93ec747 100644 --- a/eyre/src/lib.rs +++ b/eyre/src/lib.rs @@ -636,7 +636,7 @@ impl dyn EyreHandler { t == concrete } - /// Downcast the handler to a contcrete type `T` + /// Downcast the handler to a concrete type `T` pub fn downcast_ref(&self) -> Option<&T> { if self.is::() { unsafe { Some(&*(self as *const dyn EyreHandler as *const T)) } @@ -645,7 +645,7 @@ impl dyn EyreHandler { } } - /// Downcast the handler to a contcrete type `T` + /// Downcast the handler to a concrete type `T` pub fn downcast_mut(&mut self) -> Option<&mut T> { if self.is::() { unsafe { Some(&mut *(self as *mut dyn EyreHandler as *mut T)) }