mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-11 19:24:21 +01:00
ignore warning mut_from_ref
This commit is contained in:
@@ -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() }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user