mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-10-28 16:18:57 +00:00
Avoid closure
This commit is contained in:
1 parent
b573617a7c
commit
a5ce659b9c
1 file changed
+1
-1
+1
-1
@@ -222,6 +222,6 @@ fn build_commands<'a>(matches: &'a ArgMatches<'_>) -> Vec<Command<'a>> {
|
||||
Err(e) => error(e.description()),
|
||||
}
|
||||
} else {
|
||||
command_strings.map(|c| Command::new(c)).collect()
|
||||
command_strings.map(Command::new).collect()
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user