From 231090d5f664d73da0691a4f154a24b75bb1d74e Mon Sep 17 00:00:00 2001 From: Freja Roberts Date: Fri, 28 Jun 2024 10:58:09 +0200 Subject: [PATCH] fix: typo in doc comment --- eyre/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) }