diff options
author | andy finch <andyfinch7@gmail.com> | 2019-07-18 17:48:44 -0400 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2019-07-18 23:48:44 +0200 |
commit | 056c14617565291cb00df9fec6f9779a3669089f (patch) | |
tree | ab2ea9a319bbe4bb8fc2a035e4515381ab0c4e73 | |
parent | a37bc0088f9de76108fe0bd9243c794b413d73cf (diff) |
Fix expected dyn before AnyError trait (#2663)
-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 } |