mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-30 21:38:57 +08:00
Fix warnings related to deprecated Error::description
This commit is contained in:
@@ -60,6 +60,7 @@ impl fmt::Display for FromSqlError {
|
||||
}
|
||||
|
||||
impl Error for FromSqlError {
|
||||
#[allow(deprecated)]
|
||||
fn description(&self) -> &str {
|
||||
match *self {
|
||||
FromSqlError::InvalidType => "invalid type",
|
||||
|
||||
Reference in New Issue
Block a user