From 000566811fb0ec2f0423fb18ca6fd40fd2be1ad7 Mon Sep 17 00:00:00 2001 From: gwenn Date: Thu, 22 Nov 2018 16:53:44 +0100 Subject: [PATCH] Clippy --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 1e32098..99f7f16 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -800,7 +800,7 @@ impl InnerConnection { #[cfg(feature = "hooks")] fn new(db: *mut ffi::sqlite3) -> InnerConnection { InnerConnection { - db: db, + db, interrupt_lock: Arc::new(Mutex::new(db)), free_commit_hook: None, free_rollback_hook: None,