Merge pull request #87 from Atul9/use-dyn

Use 'dyn' since trait objects without an explicit 'dyn' are deprecated
This commit is contained in:
Ashley Mannix 2019-08-19 08:42:53 +10:00 committed by GitHub
commit a72cc56ebf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}