From f3f8c9ca98cdb6cc1cf548d6312189898364149b Mon Sep 17 00:00:00 2001 From: philipp Date: Sat, 13 Jul 2019 10:19:57 +0200 Subject: [PATCH] Avoid redundant ref --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 1b2eab3..2cbc225 100644 --- a/src/main.rs +++ b/src/main.rs @@ -211,7 +211,7 @@ fn build_commands<'a>(matches: &'a ArgMatches<'_>) -> Vec> { let mut commands = vec![]; let command_strings = command_strings.collect::>(); 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)); } }