mirror of
https://github.com/isar/rusqlite.git
synced 2025-08-22 14:29:30 +08:00
Fix/suppress warning 'deprecated'
This commit is contained in:
@@ -60,6 +60,7 @@ impl Error for FromSqlError {
|
||||
}
|
||||
|
||||
#[allow(clippy::match_same_arms)]
|
||||
#[allow(deprecated)]
|
||||
fn cause(&self) -> Option<&dyn Error> {
|
||||
match *self {
|
||||
FromSqlError::Other(ref err) => err.cause(),
|
||||
|
Reference in New Issue
Block a user