chore: Clippy fixes

This commit is contained in:
Ginger
2026-04-13 17:31:52 -04:00
parent e185f56f3a
commit e70004c98f
53 changed files with 110 additions and 118 deletions
+1 -1
View File
@@ -315,7 +315,7 @@ impl Service {
| TxnState::Active(_) => None,
})
.collect();
cached_entries.sort_by(|a, b| a.1.cmp(&b.1));
cached_entries.sort_by_key(|a| a.1);
// Remove the oldest cached entries to get under the limit
for (key, _) in cached_entries.into_iter().take(excess) {