From c7417e0bca3cac9d4059f06dd0f2836573284a6c Mon Sep 17 00:00:00 2001 From: Ben S Date: Mon, 24 Nov 2014 02:18:22 +0000 Subject: [PATCH] Remove unnecessary namespacing --- src/sort.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sort.rs b/src/sort.rs index 1463e27..3324fae 100644 --- a/src/sort.rs +++ b/src/sort.rs @@ -21,8 +21,8 @@ impl SortPart { if is_digit { // numbers too big for a u64 fall back into strings. match from_str::(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())