Skip to content

Commit

Permalink
Structure ContextError's StdError case to mirror anyhow::Error case
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Oct 21, 2022
1 parent 6874b52 commit fd34155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ where

#[cfg(backtrace)]
fn provide<'a>(&'a self, demand: &mut Demand<'a>) {
self.error.provide(demand);
StdError::provide(&self.error, demand);
}
}

Expand Down

0 comments on commit fd34155

Please sign in to comment.