mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-18 21:50:37 +00:00
apply cargo fmt
This commit is contained in:
2
proxy/src/cache/timed_lru.rs
vendored
2
proxy/src/cache/timed_lru.rs
vendored
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user