Skip to content

Commit

Permalink
Fix clippy::needless_borrows_for_generic_args
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Mar 25, 2024
1 parent 8fbf203 commit 1c029e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ fn dir_contains_target(

cargo_target_dir
.to_str()
.map(|cargo_target_dir| dir.contains(&cargo_target_dir))
.map(|cargo_target_dir| dir.contains(cargo_target_dir))
})
})
.unwrap_or(false)
Expand Down

0 comments on commit 1c029e4

Please sign in to comment.