Skip to content

Commit 12629ef

Browse files
committed
Use 'dyn' since trait objects without an explicit 'dyn' are deprecated
1 parent 0690ce4 commit 12629ef

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
@@ -298,7 +298,7 @@ impl Error for GlobError {
298298
self.error.description()
299299
}
300300

301-
fn cause(&self) -> Option<&Error> {
301+
fn cause(&self) -> Option<&dyn Error> {
302302
Some(&self.error)
303303
}
304304
}

0 commit comments

Comments
 (0)