Avoid Unstable Sort (#12455)

* dont use unstable sort

* remove comment

* add clippy rule
This commit is contained in:
Shawn Tabrizi authored and GitHub committed 2022-10-11 18:41:43 +00:00
1 parent fbdfa84cd7
commit 023aa03fea
9 files changed
+14 -17

No files matched your search

@@ -63,7 +63,7 @@ benchmarks! {
}
}: {
// The benchmark execution phase could also be a closure with custom code
m.sort_unstable();
m.sort();
}
// This line generates test cases for benchmarking, and could be run by: