mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-22 15:19:27 +08:00
Fix/suppress warning 'deprecated'
This commit is contained in:
parent
20fed1956e
commit
f695f185c2
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user