From c735d83a316ebe2844803132fa81f6dcb9f28b79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Mon, 11 Sep 2023 15:01:23 -0700 Subject: [PATCH] fix(mmap): fix unused method warning --- src/content/write.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content/write.rs b/src/content/write.rs index 1bb21a2..3241c13 100644 --- a/src/content/write.rs +++ b/src/content/write.rs @@ -28,6 +28,7 @@ struct MmapMut; #[cfg(not(feature = "mmap"))] impl MmapMut { + #[allow(dead_code)] fn flush_async(&self) -> std::io::Result<()> { panic!() }