mirror of
https://github.com/isar/rusqlite.git
synced 2026-01-15 17:22:23 +08:00
Fix clippy warning
warning: this implementation is unsound, as some fields in `Connection` are `!Send`
--> src/lib.rs:339:1
339 | unsafe impl Send for Connection {}
This commit is contained in:
@@ -38,6 +38,8 @@ pub struct InnerConnection {
|
||||
owned: bool,
|
||||
}
|
||||
|
||||
unsafe impl Send for InnerConnection {}
|
||||
|
||||
impl InnerConnection {
|
||||
#[allow(clippy::mutex_atomic)]
|
||||
#[inline]
|
||||
|
||||
Reference in New Issue
Block a user