uucore/num_format: fix typo in comment

This commit is contained in:
Daniel Hofstetter 2024-02-08 16:04:13 +01:00
parent 3126e5f8a1
commit 337bfeebc1

View file

@ -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",