Skip to content

Commit a72cc56

Browse files
authored
Merge pull request #87 from Atul9/use-dyn
Use 'dyn' since trait objects without an explicit 'dyn' are deprecated
2 parents 0690ce4 + e439bc8 commit a72cc56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ impl Error for GlobError {
298298
self.error.description()
299299
}
300300

301+
#[allow(unknown_lints, bare_trait_objects)]
301302
fn cause(&self) -> Option<&Error> {
302303
Some(&self.error)
303304
}

0 commit comments

Comments
 (0)