style: cargo clippy & cargo fmt
This commit is contained in:
parent
19f64d413c
commit
e59f7b5a1f
20 changed files with 137 additions and 67 deletions
2
build.rs
2
build.rs
|
@ -12,5 +12,5 @@ fn main() {
|
|||
.unwrap_or_else(|| "UNKNOWN".to_string());
|
||||
|
||||
// Tell Cargo to set `GIT_SHORT_HASH` for the main compilation
|
||||
println!("cargo:rustc-env=GIT_SHORT_HASH={}", git_short_hash);
|
||||
println!("cargo:rustc-env=GIT_SHORT_HASH={git_short_hash}");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue