diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-05-27 21:32:45 -0400 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-05-27 21:32:45 -0400 |
commit | 459155dc755be747076d7b71b151f1239b0caa1d (patch) | |
tree | ac72a6fda4f3b1cd3d1b49ff518b3f41da3a7527 /src/sort.rs | |
parent | 3de24090b8615719c7da39d96469adff904405fd (diff) |
update config files
Diffstat (limited to 'src/sort.rs')
-rw-r--r-- | src/sort.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort.rs b/src/sort.rs index 3c48f15..075677f 100644 --- a/src/sort.rs +++ b/src/sort.rs @@ -17,9 +17,9 @@ pub enum SortType { impl SortType { pub fn parse(s: &str) -> Option<Self> { match s { + "lexical" => Some(SortType::Lexical), "mtime" => Some(SortType::Mtime), "natural" => Some(SortType::Natural), - "lexical" => Some(SortType::Lexical), _ => None, } } |