Skip to content

Commit 4a09355

Browse files
committed
Satidfy a newly rigorous compiler warning
Signed-off-by: Nick Cameron <nrc@ncameron.org>
1 parent 89aee91 commit 4a09355

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)