Skip to content
Myr

Structure ContextError's StdError case to mirror anyhow::Error case

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 6874b52 · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/context.rs+1 added-1 removed
143 unmodified lines
144 }145146 #[cfg(backtrace)]147 fn provide<'a>(&'a self, demand: &mut Demand<'a>) {148 self.error.provide(demand);148 StdError::provide(&self.error, demand);149 }150}151152impl<C> StdError for ContextError<C, Error>
41 unmodified lines