mirror of
https://github.com/eza-community/eza.git
synced 2025-08-04 17:08:42 +00:00
Fix Clippy lints
This commit is contained in:
parent
5a84953b4e
commit
dba3f37b0a
14 changed files with 186 additions and 199 deletions
7
build.rs
7
build.rs
|
@ -50,9 +50,10 @@ fn write_statics() -> IOResult<()> {
|
|||
use std::io::Write;
|
||||
use std::path::PathBuf;
|
||||
|
||||
let ver = match is_development_version() {
|
||||
true => format!("exa v{} ({} built on {})", cargo_version(), git_hash(), build_date()),
|
||||
false => format!("exa v{}", cargo_version()),
|
||||
let ver = if is_development_version() {
|
||||
format!("exa v{} ({} built on {})", cargo_version(), git_hash(), build_date())
|
||||
} else {
|
||||
format!("exa v{}", cargo_version())
|
||||
};
|
||||
|
||||
let out = PathBuf::from(env::var("OUT_DIR").unwrap());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue