Updated to use the new dyn syntax.

This commit is contained in:
Myrddin Dundragon 2020-07-02 23:37:57 -04:00
parent 114d76a0db
commit f1f16c0b9d

View File

@ -52,7 +52,7 @@ impl Error for ConversionError
} }
} }
fn get_cause(&self) -> Option<&Error> fn get_cause(&self) -> Option<&dyn Error>
{ {
match *self match *self
{ {