apply clippy suggestion
This commit is contained in:
@@ -13,7 +13,7 @@ fn main() {
|
|||||||
|
|
||||||
fn embed_latest_git_hash() {
|
fn embed_latest_git_hash() {
|
||||||
let git_rev_parse = std::process::Command::new("git")
|
let git_rev_parse = std::process::Command::new("git")
|
||||||
.args(&["rev-parse", "--short=8", "HEAD"])
|
.args(["rev-parse", "--short=8", "HEAD"])
|
||||||
.output()
|
.output()
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let git_hash = String::from_utf8(git_rev_parse.stdout).unwrap();
|
let git_hash = String::from_utf8(git_rev_parse.stdout).unwrap();
|
||||||
|
|||||||
Reference in New Issue
Block a user