fix(mmap): fix unused method warning

This commit is contained in:
Kat Marchán 2023-09-11 15:01:23 -07:00
parent 100609abee
commit c735d83a31
No known key found for this signature in database
GPG Key ID: AEB529C08A3C7E9E
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ struct MmapMut;
#[cfg(not(feature = "mmap"))]
impl MmapMut {
#[allow(dead_code)]
fn flush_async(&self) -> std::io::Result<()> {
panic!()
}