diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/config/config.rs index 25d019348cce3..c22202b7df587 100644 --- a/src/bootstrap/src/core/config/config.rs +++ b/src/bootstrap/src/core/config/config.rs @@ -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) } } }