mirror of
https://github.com/isar/rusqlite.git
synced 2025-04-10 01:07:45 +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…
x
Reference in New Issue
Block a user