mirror of
				https://github.com/isar/rusqlite.git
				synced 2025-10-31 05:48:56 +08:00 
			
		
		
		
	Fix clippy warning: arc_with_non_send_sync - interrupt_lock
This commit is contained in:
		| @@ -40,7 +40,7 @@ pub struct InnerConnection { | |||||||
| unsafe impl Send for InnerConnection {} | unsafe impl Send for InnerConnection {} | ||||||
|  |  | ||||||
| impl 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] |     #[inline] | ||||||
|     pub unsafe fn new(db: *mut ffi::sqlite3, owned: bool) -> InnerConnection { |     pub unsafe fn new(db: *mut ffi::sqlite3, owned: bool) -> InnerConnection { | ||||||
|         InnerConnection { |         InnerConnection { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user