Fix warnings related to deprecated Error::description

This commit is contained in:
gwenn
2020-01-26 16:57:58 +01:00
parent d1813caa1d
commit adb904650d
6 changed files with 21 additions and 30 deletions

View File

@@ -253,6 +253,7 @@ impl fmt::Display for Error {
}
impl error::Error for Error {
#[allow(deprecated)]
fn description(&self) -> &str {
match *self {
Error::SqliteFailure(ref err, None) => err.description(),