diff --git a/src/uu/ls/src/ls.rs b/src/uu/ls/src/ls.rs index 4fa399d3376..e37ebfd5264 100644 --- a/src/uu/ls/src/ls.rs +++ b/src/uu/ls/src/ls.rs @@ -2013,7 +2013,7 @@ fn sort_entries(entries: &mut [PathData], config: &Config, out: &mut BufWriter { - entries.sort_by_key(|k| Reverse(k.get_metadata(out).map(|md| md.len()).unwrap_or(0))) + entries.sort_by_key(|k| Reverse(k.get_metadata(out).map(|md| md.len()).unwrap_or(0))); } // The default sort in GNU ls is case insensitive Sort::Name => entries.sort_by(|a, b| a.display_name.cmp(&b.display_name)),