Fix all bare_trait_objects warnings, and deny them.
This commit is contained in:
parent
07304d7fee
commit
956193e0da
6 changed files with 8 additions and 8 deletions
|
|
@ -59,7 +59,7 @@ impl StdError for ParseError {
|
|||
fn description(&self) -> &str {
|
||||
self.0.as_ref()
|
||||
}
|
||||
fn cause(&self) -> Option<&StdError> {
|
||||
fn cause(&self) -> Option<&dyn StdError> {
|
||||
None
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue