Skip to content

Commit

Permalink
Merge pull request #314 from facebookexperimental/htejun/misc
Browse files Browse the repository at this point in the history
cargo fmt
  • Loading branch information
htejun authored Apr 29, 2024
2 parents 01a21a5 + e0fc927 commit f320519
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions rd-util/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ pub const WRITE: usize = 1;

lazy_static::lazy_static! {
static ref GIT_VERSION: String = {
let mut ver = String::new();
let mut ver = String::new();
if let Some(v) = option_env!("VERGEN_GIT_SHA") {
ver += "g";
ver += v;
if let Some("true") = option_env!("VERGEN_GIT_DIRTY") {
ver += "-dirty";
}
ver += v;
if let Some("true") = option_env!("VERGEN_GIT_DIRTY") {
ver += "-dirty";
}
}
ver
ver
};
static ref BUILD_TAG: String = {
let mut tag = env!("VERGEN_CARGO_TARGET_TRIPLE").to_string();
Expand Down

0 comments on commit f320519

Please sign in to comment.