Avoid closure

This commit is contained in:
philipp authored and David Peter committed 2019-07-17 21:11:44 +02:00
1 parent b573617a7c
commit a5ce659b9c
1 file changed
+1 -1
+1 -1
View File
@@ -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()
}
}