refactor: Refactored several usages of sort_by_key and match guards to utilize newer Rust version APIs

This commit is contained in:
2026-06-25 13:18:43 -06:00
parent 4cad9e1755
commit 03d134bec9
42 changed files with 202 additions and 255 deletions
@@ -158,7 +158,7 @@ impl Network<'_, '_> {
if !is_sorting {
let mut history_vec = history_items;
history_vec.sort_by(|a, b| a.id.cmp(&b.id));
history_vec.sort_by_key(|a| a.id);
season_details_modal.season_history.set_items(history_vec);
season_details_modal
.season_history