mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-21 21:09:23 +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 {
|
||||
Error::SqliteFailure(err, s) => {
|
||||
if let Some(s) = s {
|
||||
*err_msg = alloc(&s);
|
||||
*err_msg = alloc(s);
|
||||
}
|
||||
err.extended_code
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user