diff --git a/core/storage/btree.rs b/core/storage/btree.rs index ebe83174e..8f6c54d2b 100644 --- a/core/storage/btree.rs +++ b/core/storage/btree.rs @@ -2810,6 +2810,7 @@ mod tests { use super::{btree_init_page, defragment_page, drop_cell, insert_into_cell}; + #[allow(clippy::arc_with_non_send_sync)] fn get_page(id: usize) -> PageRef { let page = Arc::new(Page::new(id)); @@ -2828,6 +2829,7 @@ mod tests { page } + #[allow(clippy::arc_with_non_send_sync)] fn get_database() -> Arc { let mut path = TempDir::new().unwrap().into_path(); path.push("test.db");