mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-23 17:28:55 +08:00
clippy::let_underscore_drop
This commit is contained in:
@@ -919,7 +919,7 @@ where
|
||||
let vt = vtab as *mut T;
|
||||
match (*vt).destroy() {
|
||||
Ok(_) => {
|
||||
let _: Box<T> = Box::from_raw(vt);
|
||||
drop(Box::from_raw(vt));
|
||||
ffi::SQLITE_OK
|
||||
}
|
||||
Err(Error::SqliteFailure(err, s)) => {
|
||||
|
Reference in New Issue
Block a user