Skip to content

Commit e6fa1a2

Browse files
committed
chore: cargo fmt
Signed-off-by: Chojan Shang <psiace@apache.org>
1 parent 83a0e03 commit e6fa1a2

File tree

1 file changed

+3
-3
lines changed
  • src/common/cache/src/cache

1 file changed

+3
-3
lines changed

src/common/cache/src/cache/lru.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ impl<K: Eq + Hash + Clone, V, S: BuildHasher, M: CountableMeter<K, V>> LruCache<
552552
}
553553
}
554554

555-
impl<K: Eq + Hash + Clone +Clone, V, S: BuildHasher, M: CountableMeter<K, V>> Extend<(K, V)>
555+
impl<K: Eq + Hash + Clone + Clone, V, S: BuildHasher, M: CountableMeter<K, V>> Extend<(K, V)>
556556
for LruCache<K, V, S, M>
557557
{
558558
fn extend<I: IntoIterator<Item = (K, V)>>(&mut self, iter: I) {
@@ -562,8 +562,8 @@ impl<K: Eq + Hash + Clone +Clone, V, S: BuildHasher, M: CountableMeter<K, V>> Ex
562562
}
563563
}
564564

565-
impl<K: fmt::Debug + Eq + Hash + Clone, V: fmt::Debug, S: BuildHasher, M: CountableMeter<K, V>> fmt::Debug
566-
for LruCache<K, V, S, M>
565+
impl<K: fmt::Debug + Eq + Hash + Clone, V: fmt::Debug, S: BuildHasher, M: CountableMeter<K, V>>
566+
fmt::Debug for LruCache<K, V, S, M>
567567
{
568568
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
569569
f.debug_map().entries(self.iter().rev()).finish()

0 commit comments

Comments
 (0)