diff options
-rw-r--r-- | core/any_error.rs | 2 |
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 } |