Skip to content

Commit 8cfd190

Browse files
committed
Fix adding explicit dyn
1 parent 22286a4 commit 8cfd190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ impl ::std::error::Error for Error {
2929
}
3030
}
3131

32-
fn cause(&self) -> Option<&::std::error::Error> {
32+
fn cause(&self) -> Option<&dyn (::std::error::Error)> {
3333
match *self {
3434
Error::Io(ref e) => Some(e),
3535
_ => None,

0 commit comments

Comments
 (0)