mirror of
https://gitee.com/openharmony/third_party_rust_glob
synced 2024-11-23 07:30:11 +00:00
Merge pull request #87 from Atul9/use-dyn
Use 'dyn' since trait objects without an explicit 'dyn' are deprecated
This commit is contained in:
commit
a72cc56ebf
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user