small fix
This commit is contained in:
@ -85,15 +85,13 @@ impl fmt::Display for Error {
|
||||
error += ": ";
|
||||
error += desc;
|
||||
}
|
||||
write!(f, "{}", error);
|
||||
Ok(())
|
||||
write!(f, "{}", error)
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Debug for Error {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
self.fmt(f);
|
||||
Ok(())
|
||||
self.fmt(f)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user