Skip to content

Commit

Permalink
fix clippy 1.77
Browse files Browse the repository at this point in the history
  • Loading branch information
agourlay committed Apr 17, 2024
1 parent a787090 commit 66a5d49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -953,8 +953,8 @@ mod test {
// Create fake temp file to simulate a crash.
let mut file = std::fs::OpenOptions::new()
.read(true)
.write(true)
.create(true)
.append(true)
.open(dir.path().join("tmp-open-123"))
.unwrap();

Expand Down
2 changes: 1 addition & 1 deletion src/mmap_view_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ mod test {

let mut file = fs::OpenOptions::new()
.read(true)
.write(true)
.create(true)
.append(true)
.open(path)
.unwrap();
file.set_len(len).unwrap();
Expand Down

0 comments on commit 66a5d49

Please sign in to comment.