Skip to content

Commit

Permalink
Merge pull request #87 from Atul9/use-dyn
Browse files Browse the repository at this point in the history
Use 'dyn' since trait objects without an explicit 'dyn' are deprecated
  • Loading branch information
KodrAus committed Aug 18, 2019
2 parents 0690ce4 + e439bc8 commit a72cc56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Expand Up @@ -298,6 +298,7 @@ impl Error for GlobError {
self.error.description()
}

#[allow(unknown_lints, bare_trait_objects)]
fn cause(&self) -> Option<&Error> {
Some(&self.error)
}
Expand Down

0 comments on commit a72cc56

Please sign in to comment.