diff options
author | Tim Oram <dev@mitmaro.ca> | 2022-10-10 22:22:38 -0230 |
---|---|---|
committer | Tim Oram <dev@mitmaro.ca> | 2022-10-15 00:08:19 -0230 |
commit | 8edc353ac9c8e9aef9d106cb283adb70f41613ff (patch) | |
tree | 65fca040705c4b57d1b3e9475a07bac6d7d8c2bc /src/config | |
parent | 967596f3dc37cb3c91fab6ccfa93a87d65dd3f9a (diff) |
Remove unneeded vec! call
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/src/git_config.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/src/git_config.rs b/src/config/src/git_config.rs index 38e9868..315f714 100644 --- a/src/config/src/git_config.rs +++ b/src/config/src/git_config.rs @@ -118,7 +118,7 @@ mod tests { value ); - for (value, expected) in vec![$( ($value, $expected), )*] { + for (value, expected) in [$( ($value, $expected), )*] { let config_parent = format!("[{}]", $config_parent); let config_value = format!("{} = \"{value}\"", $config_name); with_git_config(&[config_parent.as_str(), config_value.as_str()], |git_config| { |