diff --git a/src/main.rs b/src/main.rs index 1b1f992..a935965 100644 --- a/src/main.rs +++ b/src/main.rs @@ -222,6 +222,6 @@ fn build_commands<'a>(matches: &'a ArgMatches<'_>) -> Vec> { Err(e) => error(e.description()), } } else { - command_strings.map(|c| Command::new(c)).collect() + command_strings.map(Command::new).collect() } }