Skip to content

Commit

Permalink
fix: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
xDarksome committed Jul 10, 2023
1 parent cf855c6 commit 7fe7ec0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,11 @@ fn health_provider() -> String {
let name = &build_info.crate_info.name;
let version = &build_info.crate_info.version;

let Some(git) = build_info.version_control.as_ref().and_then(VersionControl::git) else {
let Some(git) = build_info
.version_control
.as_ref()
.and_then(VersionControl::git)
else {
return format!("{} v{}", name, version);
};

Expand Down

0 comments on commit 7fe7ec0

Please sign in to comment.