mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-25 02:21:37 +08:00
Fix clippy warning
This commit is contained in:
parent
687aeef3b0
commit
aca28e6509
@ -455,7 +455,7 @@ pub unsafe fn to_sqlite_error(
|
|||||||
match e {
|
match e {
|
||||||
Error::SqliteFailure(err, s) => {
|
Error::SqliteFailure(err, s) => {
|
||||||
if let Some(s) = s {
|
if let Some(s) = s {
|
||||||
*err_msg = alloc(&s);
|
*err_msg = alloc(s);
|
||||||
}
|
}
|
||||||
err.extended_code
|
err.extended_code
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user