Skip to content

Commit

Permalink
fix(mmap): fix unused method warning
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Sep 11, 2023
1 parent 100609a commit c735d83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/content/write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ struct MmapMut;

#[cfg(not(feature = "mmap"))]
impl MmapMut {
#[allow(dead_code)]
fn flush_async(&self) -> std::io::Result<()> {
panic!()
}
Expand Down

0 comments on commit c735d83

Please sign in to comment.