clippy fixes

(i don't know rust, things seem to still work?)
This commit is contained in:
ellotheth
2023-08-17 22:09:05 +02:00
committed by Gunwant Jain
parent 3598e6bd91
commit e8fac0f0c8
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
use std::process::Command;
fn main() {
let output = Command::new("git")
.args(&["rev-parse", "HEAD"])
.args(["rev-parse", "HEAD"])
.output()
.unwrap();
let git_hash = String::from_utf8(output.stdout).unwrap();