apply cargo fmt

This commit is contained in:
Ruslan Talpa
2025-06-30 12:32:47 +03:00
parent 88d1a78260
commit 424004ec95
13 changed files with 359 additions and 255 deletions

View File

@@ -228,7 +228,7 @@ impl<K: Hash + Eq + Clone, V: Clone> TimedLru<K, V> {
pub(crate) fn flush(&self) {
let now = Instant::now();
let mut cache = self.cache.lock();
// Collect keys of expired entries first
let expired_keys: Vec<_> = cache
.iter()