Skip to content

Commit

Permalink
chore: Enable the clippy create_dir lint (#2315)
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert authored Jan 10, 2025
1 parent 80b4c3f commit 1596bc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ cargo = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
clone_on_ref_ptr = "warn"
create_dir = "warn"
if_then_some_else_none = "warn"
get_unwrap = "warn"
multiple_inherent_impl = "warn"
Expand Down
2 changes: 1 addition & 1 deletion neqo-bin/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ mod tests {
.unwrap()
.as_secs()
));
fs::create_dir(&dir).unwrap();
fs::create_dir_all(&dir).unwrap();
Self { path: dir }
}

Expand Down

0 comments on commit 1596bc6

Please sign in to comment.