memmap -> memmap2

This commit is contained in:
Tom Parker-Shemilt 2021-10-10 22:47:12 +01:00
parent a2743baaa3
commit 2dfe24f067
5 changed files with 5 additions and 5 deletions

View file

@ -860,7 +860,7 @@ async fn main() -> anyhow::Result<()> {
}
let file = file.into_std().await;
let mmap = unsafe { memmap::Mmap::map(&file).expect("can't map file") };
let mmap = unsafe { memmap2::Mmap::map(&file).expect("can't map file") };
let method = match update_method.as_deref() {
Some("replace") => String::from("replace"),