Simply Abi::fmt

This commit is contained in:
Nilstrieb 2023-04-09 23:08:39 +02:00
parent e5defd0102
commit 5853c28a7f

View File

@ -324,8 +324,6 @@ impl Abi {
impl fmt::Display for Abi { impl fmt::Display for Abi {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
match self { write!(f, "\"{}\"", self.name())
abi => write!(f, "\"{}\"", abi.name()),
}
} }
} }