Updated to use the new dyn syntax.
This commit is contained in:
parent
114d76a0db
commit
f1f16c0b9d
@ -52,7 +52,7 @@ impl Error for ConversionError
|
||||
}
|
||||
}
|
||||
|
||||
fn get_cause(&self) -> Option<&Error>
|
||||
fn get_cause(&self) -> Option<&dyn Error>
|
||||
{
|
||||
match *self
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user