Fix clippy warning: arc_with_non_send_sync - interrupt_lock

This commit is contained in:
gwenn 2023-10-11 18:30:34 +02:00
parent 36264dc3cc
commit c1eea9be00

View File

@ -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 {