Skip to content
Myr

Remove deprecated cause method from ContextError

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent 7fdf38e · Browse files · 1 file+0 added−8 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−8 removed

  • other:+0 added−8 removed

1 file+0 added−8 removed

modified:src/context.rs-8 removed
96 unmodified lines
97 fn backtrace(&self) -> Option<&Backtrace> {98 self.error.backtrace()99 }100101 fn cause(&self) -> Option<&dyn StdError> {102 Some(&self.error)103 }104101 fn source(&self) -> Option<&(dyn StdError + 'static)> {102 Some(&self.error)103 }104}
5 unmodified lines
110 fn backtrace(&self) -> Option<&Backtrace> {111 Some(self.error.backtrace())112 }113118 fn cause(&self) -> Option<&dyn StdError> {119 Some(&*self.error)120 }121114 fn source(&self) -> Option<&(dyn StdError + 'static)> {115 Some(&*self.error)116 }117}