mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-22 16:29:20 +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(clippy::match_same_arms)]
|
||||||
|
#[allow(deprecated)]
|
||||||
fn cause(&self) -> Option<&dyn Error> {
|
fn cause(&self) -> Option<&dyn Error> {
|
||||||
match *self {
|
match *self {
|
||||||
FromSqlError::Other(ref err) => err.cause(),
|
FromSqlError::Other(ref err) => err.cause(),
|
||||||
|
Loading…
Reference in New Issue
Block a user