summaryrefslogtreecommitdiff
path: root/core/any_error.rs
diff options
context:
space:
mode:
authorandy finch <andyfinch7@gmail.com>2019-07-18 17:48:44 -0400
committerBert Belder <bertbelder@gmail.com>2019-07-18 23:48:44 +0200
commit056c14617565291cb00df9fec6f9779a3669089f (patch)
treeab2ea9a319bbe4bb8fc2a035e4515381ab0c4e73 /core/any_error.rs
parenta37bc0088f9de76108fe0bd9243c794b413d73cf (diff)
Fix expected dyn before AnyError trait (#2663)
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
}