cargo fix
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user