Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
aryalaadi committed Jan 27, 2025
1 parent 65baf39 commit 52648c5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/uucore/src/lib/features/format/escape.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@ enum Base {
impl Base {
fn max_digits(&self, octal_0: bool) -> u8 {
match self {
Self::Oct => { if octal_0 {3} else {2}},
Self::Oct => {
if octal_0 {
3
} else {
2
}
}
Self::Hex => 2,
}
}
Expand Down

0 comments on commit 52648c5

Please # to comment.