Skip to content

Commit

Permalink
Update memmap2 dev-dependency (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
jturner314 authored Sep 14, 2024
1 parent 3efa590 commit 754366f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ npz = ["zip"]
compressed_npz = ["npz", "zip/deflate"]

[dev-dependencies]
memmap2 = "0.2"
memmap2 = "0.9"
tempfile = "3.2"

[[example]]
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ macro_rules! impl_file_to_aligned_bytes {
bytes, ALIGN,
)))
} else {
let out = Box::new($mmap(&file)?);
let out = Box::new($mmap(file)?);
assert_eq!(0, out.as_ptr() as usize % ALIGN);
Ok(out)
}
Expand Down

0 comments on commit 754366f

Please sign in to comment.