alpha bug
This commit is contained in:
parent
765884f79f
commit
9950f41ba4
|
@ -172,7 +172,7 @@ fn directory_structure(path: String) -> HashMap<&'static str, HashMap<i32, DirPa
|
|||
let mut sort = fs::read_dir(dir).unwrap()
|
||||
.map(|x| x.unwrap().path().into_os_string().into_string().unwrap())
|
||||
.collect::<Vec<String>>();
|
||||
sort.sort();
|
||||
sort.sort_by_key(|a| a.to_lowercase());
|
||||
let paths = sort.into_iter()
|
||||
.enumerate()
|
||||
.map(|x| (x.0 as i32, DirPath {
|
||||
|
|
Loading…
Reference in New Issue
Block a user