Skip to content

Commit

Permalink
Fix clippy::suspicious_open_options
Browse files Browse the repository at this point in the history
  • Loading branch information
maximbaz committed Mar 30, 2024
1 parent 0898416 commit 78e4718
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/predictor/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ impl Data {
Ok(OpenOptions::new()
.create(true)
.write(true)
.truncate(false)
.read(true)
.open(path)?)
}
Expand Down

0 comments on commit 78e4718

Please sign in to comment.