Skip to content

Commit d6ef813

Browse files
author
Zoran Cvetkov
committed
compiler fix
1 parent f57b3ba commit d6ef813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graph/src/util/lfu_cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ impl<K: Clone + Ord + Eq + Hash + Debug + CacheWeight, V: CacheWeight + Default>
179179
})
180180
}
181181

182-
pub fn iter<'a>(&'a self) -> impl Iterator<Item = (&K, &V)> {
182+
pub fn iter<'a>(&'a self) -> impl Iterator<Item = (&'a K, &'a V)> {
183183
self.queue
184184
.iter()
185185
.map(|entry| (&entry.0.key, &entry.0.value))

0 commit comments

Comments
 (0)