mirror of
https://github.com/isar/rusqlite.git
synced 2025-03-31 19:12:58 +08:00
remove extra lifetime
This commit is contained in:
parent
b910eafee5
commit
fb50d45bdf
@ -143,9 +143,9 @@ impl InnerConnection {
|
||||
self.preupdate_hook(None::<fn(Action, &str, &str, &PreUpdateCase)>);
|
||||
}
|
||||
|
||||
fn preupdate_hook<'c, F>(&'c mut self, hook: Option<F>)
|
||||
fn preupdate_hook<F>(&mut self, hook: Option<F>)
|
||||
where
|
||||
F: FnMut(Action, &str, &str, &PreUpdateCase) + Send + 'c,
|
||||
F: FnMut(Action, &str, &str, &PreUpdateCase) + Send,
|
||||
{
|
||||
unsafe extern "C" fn call_boxed_closure<F>(
|
||||
p_arg: *mut c_void,
|
||||
|
Loading…
x
Reference in New Issue
Block a user