From c1eea9be00d134f5fc0da3c2f6b8122154e38c11 Mon Sep 17 00:00:00 2001 From: gwenn Date: Wed, 11 Oct 2023 18:30:34 +0200 Subject: [PATCH] Fix clippy warning: arc_with_non_send_sync - interrupt_lock --- src/inner_connection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inner_connection.rs b/src/inner_connection.rs index a7487a8..2e535df 100644 --- a/src/inner_connection.rs +++ b/src/inner_connection.rs @@ -40,7 +40,7 @@ pub struct InnerConnection { unsafe impl Send for InnerConnection {} impl InnerConnection { - #[allow(clippy::mutex_atomic)] + #[allow(clippy::mutex_atomic, clippy::arc_with_non_send_sync)] // See unsafe impl Send / Sync for InterruptHandle #[inline] pub unsafe fn new(db: *mut ffi::sqlite3, owned: bool) -> InnerConnection { InnerConnection {