cargo fix

This commit is contained in:
2020-10-06 19:37:12 +02:00
parent 85911c8e99
commit 250f0f22c0
+1 -1
View File
@@ -53,7 +53,7 @@ pub struct Error {
impl error::Error for Error { impl error::Error for Error {
fn description(&self) -> &str { self.message } fn description(&self) -> &str { self.message }
fn cause(&self) -> Option<&error::Error> { None } fn cause(&self) -> Option<&dyn error::Error> { None }
} }
/// Since errors are the uncommon case, they're boxed. This keeps the size of /// Since errors are the uncommon case, they're boxed. This keeps the size of