mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-25 02:21:37 +08:00
Fix clippy warning: arc_with_non_send_sync - interrupt_lock
This commit is contained in:
parent
36264dc3cc
commit
c1eea9be00
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user