Browse Source

Remove unnecessary namespacing

Ben S 11 years ago
parent
commit
c7417e0bca
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/sort.rs

+ 2 - 2
src/sort.rs

@@ -21,8 +21,8 @@ impl SortPart {
         if is_digit {
         if is_digit {
             // numbers too big for a u64 fall back into strings.
             // numbers too big for a u64 fall back into strings.
             match from_str::<u64>(slice) {
             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 {
         } else {
             SortPart::Stringular(slice.to_ascii_lower())
             SortPart::Stringular(slice.to_ascii_lower())