This commit is contained in:
Crispy 2024-12-16 22:43:12 +01:00
parent ba1f404250
commit 4427b4c2fc
5 changed files with 36 additions and 38 deletions

View file

@ -302,7 +302,7 @@ fn get_solutions() -> HashMap<String, Vec<Solution>> {
.as_deref()
.and_then(|s| serde_json::from_str(s).ok());
if let Some(solution) = s {
solutions.push(solution)
solutions.push(solution);
}
}
solutions.sort_unstable_by_key(Solution::id);