Skip to content

Commit 0ecd01d

Browse files
committed
fix: fixed error that was allowed in Rust 2015 edition
1 parent e20793d commit 0ecd01d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ impl error::Error for Void {
6464
unreachable(*self)
6565
}
6666

67-
fn cause(&self) -> Option<&error::Error> {
67+
fn cause(&self) -> Option<&dyn error::Error> {
6868
unreachable(*self)
6969
}
7070
}

0 commit comments

Comments
 (0)