mirror of
https://github.com/eyre-rs/eyre.git
synced 2025-09-27 13:01:29 +00:00
Remove deprecated cause method from ContextError
This commit is contained in:
parent
7fdf38ea1b
commit
b702096f5c
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user