aboutsummaryrefslogtreecommitdiffstats
path: root/components/util/cache.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/util/cache.rs')
-rw-r--r--components/util/cache.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/util/cache.rs b/components/util/cache.rs
index 4bb02353702..7a3dcfa980f 100644
--- a/components/util/cache.rs
+++ b/components/util/cache.rs
@@ -76,7 +76,7 @@ impl<K: Clone + PartialEq, V: Clone> LRUCache<K, V> {
self.entries[last_index].1.clone()
}
- pub fn iter<'a>(&'a self) -> Iter<'a, (K, V)> {
+ pub fn iter(&self) -> Iter<(K, V)> {
self.entries.iter()
}