mirror of https://github.com/zkat/cacache-rs.git
fix(mmap): fix unused method warning
This commit is contained in:
parent
100609abee
commit
c735d83a31
|
|
@ -28,6 +28,7 @@ struct MmapMut;
|
|||
|
||||
#[cfg(not(feature = "mmap"))]
|
||||
impl MmapMut {
|
||||
#[allow(dead_code)]
|
||||
fn flush_async(&self) -> std::io::Result<()> {
|
||||
panic!()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue