Skip to content

Commit

Permalink
moss/cli/list: Simplify, make clippy happy
Browse files Browse the repository at this point in the history
Signed-off-by: Ikey Doherty <ikey@serpentos.com>
  • Loading branch information
ikeycode committed Sep 20, 2023
1 parent 597a6b0 commit dbd3a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moss/src/cli/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ pub async fn handle(args: &ArgMatches) -> Result<(), Error> {
})
.collect_vec();
// sort alpha
set.sort_by(|x, y| x.cmp(y));
set.sort();

// Grab maximum field
let max_element = set
Expand Down

0 comments on commit dbd3a0f

Please sign in to comment.