Skip to content

Commit

Permalink
fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
eerii committed Sep 15, 2024
1 parent d2ee14e commit f0a4546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codegen/sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ fn main() {

fn find_custom_build_scripts(env: &Env) -> Result<Vec<String>> {
let mut vec = Vec::<String>::new();
for entry in std::fs::read_dir(&env.config.auto_path.parent().unwrap())? {
for entry in std::fs::read_dir(env.config.auto_path.parent().unwrap())? {
let path = entry?.path();
let Some(ext) = path.extension() else {
continue;
Expand Down

0 comments on commit f0a4546

Please sign in to comment.