address @link2xt comment

This commit is contained in:
holger krekel
2019-12-01 12:03:18 +01:00
committed by Floris Bruynooghe
parent f7f61e0f85
commit ea8adf39c2
3 changed files with 2 additions and 5 deletions

View File

@@ -97,7 +97,7 @@ impl From<crate::error::Error> for Error {
impl From<Error> for crate::error::Error {
fn from(err: Error) -> crate::error::Error {
crate::error::Error::Other(err.to_string())
crate::error::Error::Message(err.to_string())
}
}