forked from gorb/backend
style: cargo clippy && cargo fmt
This commit is contained in:
parent
c9a3e8c6c4
commit
d615f1392e
31 changed files with 288 additions and 181 deletions
2
build.rs
2
build.rs
|
@ -8,7 +8,7 @@ fn main() {
|
|||
.output()
|
||||
.ok()
|
||||
.and_then(|o| String::from_utf8(o.stdout).ok())
|
||||
.map(|s| s.trim().to_string()) // Trim newline
|
||||
.map(|s| s.trim().to_string()) // Trim newline
|
||||
.unwrap_or_else(|| "UNKNOWN".to_string());
|
||||
|
||||
// Tell Cargo to set `GIT_SHORT_HASH` for the main compilation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue