mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
maint: remove trailing commas from matches
Trailing commas are only supported starting from 1.48.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user