From 46814d2bd72d7ed902ffc1d5cf083d573f6aac1e Mon Sep 17 00:00:00 2001 From: Pere Diaz Bou Date: Tue, 1 Apr 2025 18:32:35 +0200 Subject: [PATCH] ignore warning mut_from_ref --- core/storage/wal.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/core/storage/wal.rs b/core/storage/wal.rs index 6cfff19d7..b56246a78 100644 --- a/core/storage/wal.rs +++ b/core/storage/wal.rs @@ -733,6 +733,7 @@ impl WalFile { offset as usize } + #[allow(clippy::mut_from_ref)] fn get_shared(&self) -> &mut WalFileShared { unsafe { self.shared.get().as_mut().unwrap() } }