From fd341550b16d87dd245fe08a2ccda363c8144c47 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Thu, 20 Oct 2022 17:04:53 -0700 Subject: [PATCH] Structure ContextError's StdError case to mirror anyhow::Error case --- src/context.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/context.rs b/src/context.rs index 49af817..9df8693 100644 --- a/src/context.rs +++ b/src/context.rs @@ -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); } }