mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
maint: remove trailing commas from matches
Trailing commas are only supported starting from 1.48.
This commit is contained in:
parent
a9e0208ee2
commit
b5cbd506bc
2 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ impl NumInfo {
|
|||
|
||||
if matches!(
|
||||
parse_settings.thousands_separator,
|
||||
Some(c) if c == char,
|
||||
Some(c) if c == char
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -585,7 +585,7 @@ impl FieldSelector {
|
|||
&& to.is_none()
|
||||
&& !matches!(
|
||||
settings.mode,
|
||||
SortMode::Numeric | SortMode::GeneralNumeric | SortMode::HumanNumeric,
|
||||
SortMode::Numeric | SortMode::GeneralNumeric | SortMode::HumanNumeric
|
||||
),
|
||||
needs_tokens: from.field != 1 || from.char == 0 || to.is_some(),
|
||||
from,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue