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