mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-25 13:27:33 +00:00
Remove unnecessary namespacing
This commit is contained in:
parent
8e455f9390
commit
c7417e0bca
@ -21,8 +21,8 @@ impl SortPart {
|
||||
if is_digit {
|
||||
// numbers too big for a u64 fall back into strings.
|
||||
match from_str::<u64>(slice) {
|
||||
Some(num) => SortPart::Numeric(num),
|
||||
None => SortPart::Stringular(slice.to_string()),
|
||||
Some(num) => Numeric(num),
|
||||
None => Stringular(slice.to_string()),
|
||||
}
|
||||
} else {
|
||||
SortPart::Stringular(slice.to_ascii_lower())
|
||||
|
Loading…
Reference in New Issue
Block a user