Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lolbinarycat committed Jul 27, 2024
1 parent 3583233 commit 5ba7b62
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/bootstrap/src/core/config/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -518,11 +518,7 @@ impl TargetSelection {

impl fmt::Display for TargetSelection {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
if let Some(file) = self.file {
write!(f, "{file}")
} else {
write!(f, "{}", self.triple)
}
if let Some(file) = self.file { write!(f, "{file}") } else { write!(f, "{}", self.triple) }
}
}

Expand Down

0 comments on commit 5ba7b62

Please sign in to comment.