From 8784a69a8eab2845e90a3e1c3cee916ab84e8dfd Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Wed, 4 Nov 2020 21:34:22 +0100 Subject: [PATCH] fix sort warning The shell.nix uses nixpkgs-mozilla which can change and thus break stuff. --- ofborg/src/nixstats.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ofborg/src/nixstats.rs b/ofborg/src/nixstats.rs index 52d6a9a..955ca16 100644 --- a/ofborg/src/nixstats.rs +++ b/ofborg/src/nixstats.rs @@ -311,7 +311,7 @@ impl<'a> EvaluationStatsDiff<'a> { ); let mut keys = data.keys().cloned().collect::>(); - keys.sort(); + keys.sort_unstable(); let rows = keys .into_iter()