Skip to content

Commit 5ba7b62

Browse files
committed
fmt
1 parent 3583233 commit 5ba7b62

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

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

+1-5
Original file line numberDiff line numberDiff line change
@@ -518,11 +518,7 @@ impl TargetSelection {
518518

519519
impl fmt::Display for TargetSelection {
520520
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
521-
if let Some(file) = self.file {
522-
write!(f, "{file}")
523-
} else {
524-
write!(f, "{}", self.triple)
525-
}
521+
if let Some(file) = self.file { write!(f, "{file}") } else { write!(f, "{}", self.triple) }
526522
}
527523
}
528524

0 commit comments

Comments
 (0)