Skip to content

Commit

Permalink
uucore/num_format: fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cakebaker authored Feb 8, 2024
1 parent 8e7ee3f commit dd6aedf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uucore/src/lib/features/format/num_format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ impl Formatter for UnsignedInt {
}
};

// Zeroes doe not get a prefix. An octal value does also not get a
// Zeroes do not get a prefix. An octal value does also not get a
// prefix if the padded value will not start with a zero.
let prefix = match (x, self.variant) {
(1.., UnsignedIntVariant::Hexadecimal(Case::Lowercase, Prefix::Yes)) => "0x",
Expand Down

0 comments on commit dd6aedf

Please sign in to comment.