Skip to content

Commit e82df39

Browse files
authored
Merge pull request #60 from nrc/fail
Satisfy a newly rigorous compiler warning
2 parents 89aee91 + 4a09355 commit e82df39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ pub enum ErrorKind {
9595
}
9696

9797
impl Fail for Error {
98-
fn cause(&self) -> Option<&Fail> {
98+
fn cause(&self) -> Option<&dyn Fail> {
9999
self.inner.cause()
100100
}
101101

0 commit comments

Comments
 (0)