Skip to content

Commit 2bb79fb

Browse files
committed
fmt
1 parent 4600945 commit 2bb79fb

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/bootstrap/src/core/config/config.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -516,11 +516,7 @@ impl TargetSelection {
516516

517517
impl fmt::Display for TargetSelection {
518518
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
519-
if let Some(file) = self.file {
520-
write!(f, "{file}")
521-
} else {
522-
write!(f, "{}", self.triple)
523-
}
519+
if let Some(file) = self.file { write!(f, "{file}") } else { write!(f, "{}", self.triple) }
524520
}
525521
}
526522

0 commit comments

Comments
 (0)