summaryrefslogtreecommitdiff
path: root/core/any_error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/any_error.rs')
-rw-r--r--core/any_error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/any_error.rs b/core/any_error.rs
index 001ca54eb..9199af59e 100644
--- a/core/any_error.rs
+++ b/core/any_error.rs
@@ -43,7 +43,7 @@ impl AsRef<dyn AnyError> for ErrBox {
}
impl Deref for ErrBox {
- type Target = Box<AnyError>;
+ type Target = Box<dyn AnyError>;
fn deref(&self) -> &Self::Target {
&self.0
}