Skip to content

Commit

Permalink
Fix expected dyn before AnyError trait (#2663)
Browse files Browse the repository at this point in the history
  • Loading branch information
afinch7 authored and piscisaureus committed Jul 18, 2019
1 parent a37bc00 commit 056c146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/any_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 056c146

Please sign in to comment.