Skip to content

Commit

Permalink
mode: improved Debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
phip1611 committed May 3, 2024
1 parent 852599c commit bdc5184
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ impl Mode {

impl Debug for Mode {
fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result {
let mut debug = f.debug_tuple("Mode");
debug.field(&self.to_flags());
debug.finish()
Debug::fmt(&self.to_flags(), f)
}
}

Expand Down

0 comments on commit bdc5184

Please sign in to comment.