Fix clippy warning

This commit is contained in:
gwenn 2023-06-08 20:10:24 +02:00
parent 687aeef3b0
commit aca28e6509

View File

@ -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
}