ignore warning mut_from_ref

This commit is contained in:
Pere Diaz Bou
2025-04-01 18:32:35 +02:00
parent e2d00a9f96
commit 46814d2bd7

View File

@@ -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() }
}