Avoid redundant ref

This commit is contained in:
philipp authored and David Peter committed 2019-07-17 21:11:44 +02:00
1 parent 76119e6664
commit f3f8c9ca98
1 file changed
+1 -1
+1 -1
View File
@@ -211,7 +211,7 @@ fn build_commands<'a>(matches: &'a ArgMatches<'_>) -> Vec<Command<'a>> {
let mut commands = vec![];
let command_strings = command_strings.collect::<Vec<&str>>();
for value in param_range.start..param_range.end {
for ref cmd in &command_strings {
for cmd in &command_strings {
commands.push(Command::new_parametrized(cmd, param_name, value));
}
}