From 13750e9255b3e7fbf7ba7655a251a208aa441bc0 Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Fri, 28 Feb 2025 19:12:12 +0200 Subject: [PATCH] Human Rust programmers exist to keep Clippy happy --- core/storage/btree.rs | 2 ++ 1 file changed, 2 insertions(+) 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");