mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
uucore/num_format: fix typo in comment
This commit is contained in:
parent
3126e5f8a1
commit
337bfeebc1
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
// prefix if the padded value will not start with a zero.
|
||||||
let prefix = match (x, self.variant) {
|
let prefix = match (x, self.variant) {
|
||||||
(1.., UnsignedIntVariant::Hexadecimal(Case::Lowercase, Prefix::Yes)) => "0x",
|
(1.., UnsignedIntVariant::Hexadecimal(Case::Lowercase, Prefix::Yes)) => "0x",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue