1.65 clippy fixes

This commit is contained in:
Folkert 2022-11-03 16:20:37 +01:00
parent f0d6e418fa
commit 66a1ba00eb
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
53 changed files with 224 additions and 225 deletions

View file

@ -174,7 +174,7 @@ fn verify_procedures<'a>(
use std::process::Command;
let is_tracked = Command::new("git")
.args(&["ls-files", "--error-unmatch", &path])
.args(["ls-files", "--error-unmatch", &path])
.output()
.unwrap();
@ -186,7 +186,7 @@ fn verify_procedures<'a>(
}
let has_changes = Command::new("git")
.args(&["diff", "--color=always", &path])
.args(["diff", "--color=always", &path])
.output()
.unwrap();