2025-01-05 automated rustfmt nightly

This commit is contained in:
Fmt Bot 2025-01-05 01:22:00 +00:00 committed by github-actions[bot]
parent b97be3d497
commit 762f6630fe
4 changed files with 5 additions and 11 deletions

View File

@ -151,7 +151,5 @@ impl fmt::Display for Builder {
}
impl fmt::Debug for Builder {
fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> {
fmt::Display::fmt(self, f)
}
fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { fmt::Display::fmt(self, f) }
}

View File

@ -293,9 +293,7 @@ impl fmt::Display for Magic {
}
impl fmt::Debug for Magic {
fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> {
fmt::Display::fmt(self, f)
}
fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { fmt::Display::fmt(self, f) }
}
impl fmt::LowerHex for Magic {

View File

@ -440,9 +440,7 @@ impl From<u8> for Opcode {
}
impl fmt::Debug for Opcode {
fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> {
fmt::Display::fmt(self, f)
}
fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { fmt::Display::fmt(self, f) }
}
#[cfg(feature = "serde")]