Skip to content

Commit

Permalink
update nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKitsune committed Mar 12, 2024
1 parent 7407c73 commit 8f7e676
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: push

env:
RUST_VERSION: 1.76.0
NIGHTLY_VERSION: nightly-2024-04-02
NIGHTLY_VERSION: nightly-2024-02-04
CARGO_VET_VERSION: 0.7.0
CARGO_VET_REPO: https://github.com/mozilla/cargo-vet

Expand Down
2 changes: 1 addition & 1 deletion src/lazy_merkle_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ impl<H: Hasher> MmapMutWrapper<H> {
};

file.set_len(file_size).expect("cannot set file size");
if file.write_all(&buf).is_err() {
if file.write_all(buf).is_err() {
return Err(DenseMMapError::FileCannotWriteBytes);
}

Expand Down

0 comments on commit 8f7e676

Please sign in to comment.