Skip to content

Commit

Permalink
Make clippy happy for Rust 1.77
Browse files Browse the repository at this point in the history
  • Loading branch information
dannywillems committed Jan 8, 2025
1 parent 0390c18 commit 9449a1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions kimchi/src/precomputed_srs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ mod tests {
if std::env::var("SRS_OVERWRITE").is_ok() {
let mut file = std::fs::OpenOptions::new()
.create(true)
.truncate(true)
.write(true)
.open(srs_path)
.expect("failed to open SRS file");
Expand Down
1 change: 1 addition & 0 deletions msm/src/precomputed_srs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ fn create_and_store_srs_with_path(
// Open/create the file
let mut file = std::fs::OpenOptions::new()
.create(true)
.truncate(true)
.write(true)
.open(srs_path.clone())
.expect("failed to open SRS file");
Expand Down

0 comments on commit 9449a1a

Please sign in to comment.