aboutsummaryrefslogtreecommitdiffstats
path: root/components/util/cache.rs
diff options
context:
space:
mode:
authorKeegan McAllister <kmcallister@mozilla.com>2014-09-18 16:29:46 -0700
committerKeegan McAllister <kmcallister@mozilla.com>2014-09-20 13:00:55 -0700
commitdc86e8365495acc87b983a290bb7277a37a5247f (patch)
tree36af9677f6a24d7163e4b41c2b8e53da4d15538c /components/util/cache.rs
parent2f46b9aedefae7938102f7a1ccc6c96044cf1bdb (diff)
downloadservo-dc86e8365495acc87b983a290bb7277a37a5247f.tar.gz
servo-dc86e8365495acc87b983a290bb7277a37a5247f.zip
Eliminate warnings
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 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
}
}