Skip to content

Commit ac9fe9e

Browse files
committed
refactor: clippy fix
1 parent b6fc0a8 commit ac9fe9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_spawn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fn which(exe_name: &str) -> Option<std::path::PathBuf> {
99
std::env::var_os("PATH").and_then(|paths| {
1010
std::env::split_paths(&paths)
1111
.filter_map(|dir| {
12-
let full_path = dir.join(&exe_name);
12+
let full_path = dir.join(exe_name);
1313
if full_path.is_file() {
1414
Some(full_path)
1515
} else {

0 commit comments

Comments
 (0)