apply some pedantic lints

This commit is contained in:
steven-omaha
2023-01-14 18:23:48 +01:00
parent 2692b30c66
commit 8210d65fe7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -224,7 +224,7 @@ impl Pacdef {
fn remove_groups(&self, arg_match: &ArgMatches) -> Result<()> {
let paths = get_assumed_group_file_names(arg_match)?;
for file in paths.iter() {
for file in &paths {
ensure!(file.exists(), "did not find the group under {file:?}");
}