diff options
Diffstat (limited to 'components/util/cache.rs')
-rw-r--r-- | components/util/cache.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/util/cache.rs b/components/util/cache.rs index 1b159cea8c1..35d442cd079 100644 --- a/components/util/cache.rs +++ b/components/util/cache.rs @@ -238,7 +238,7 @@ impl<K:Clone+PartialEq+Hash,V:Clone> Cache<K,V> for SimpleHashCache<K,V> { } fn evict_all(&mut self) { - for slot in self.entries.mut_iter() { + for slot in self.entries.iter_mut() { *slot = None } } |