Fix clippy warning

This commit is contained in:
gwenn 2023-06-03 07:02:44 +02:00
parent 581819f962
commit 38691ca50b

View File

@ -382,7 +382,7 @@ pub static BYPASS_SQLITE_INIT: AtomicBool = AtomicBool::new(false);
// threading mode checks are not necessary (and do not work) on target // threading mode checks are not necessary (and do not work) on target
// platforms that do not have threading (such as webassembly) // platforms that do not have threading (such as webassembly)
#[cfg(any(target_arch = "wasm32"))] #[cfg(target_arch = "wasm32")]
fn ensure_safe_sqlite_threading_mode() -> Result<()> { fn ensure_safe_sqlite_threading_mode() -> Result<()> {
Ok(()) Ok(())
} }