diff --git a/src/context.rs b/src/context.rs index 8bc058d..a072792 100644 --- a/src/context.rs +++ b/src/context.rs @@ -98,10 +98,6 @@ where self.error.backtrace() } - fn cause(&self) -> Option<&dyn StdError> { - Some(&self.error) - } - fn source(&self) -> Option<&(dyn StdError + 'static)> { Some(&self.error) } @@ -115,10 +111,6 @@ where Some(self.error.backtrace()) } - fn cause(&self) -> Option<&dyn StdError> { - Some(&*self.error) - } - fn source(&self) -> Option<&(dyn StdError + 'static)> { Some(&*self.error) }