mirror of
https://github.com/fluencelabs/sqlite-wasm-connector
synced 2025-04-25 08:42:14 +00:00
Eliminate a deprecation warning
This commit is contained in:
parent
08c88ed4bf
commit
443aec74f1
@ -8,7 +8,7 @@ use {Result, Statement};
|
|||||||
/// A database connection.
|
/// A database connection.
|
||||||
pub struct Connection {
|
pub struct Connection {
|
||||||
raw: *mut ffi::sqlite3,
|
raw: *mut ffi::sqlite3,
|
||||||
busy_callback: Option<Box<FnMut(usize) -> bool>>,
|
busy_callback: Option<Box<dyn FnMut(usize) -> bool>>,
|
||||||
phantom: PhantomData<ffi::sqlite3>,
|
phantom: PhantomData<ffi::sqlite3>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user