diff options
author | João Oliveira <hello@jxs.pt> | 2015-08-15 02:27:04 +0100 |
---|---|---|
committer | João Oliveira <hello@jxs.pt> | 2015-08-15 02:27:39 +0100 |
commit | 0038580abf08d40b41136d1350a48da0c757ed77 (patch) | |
tree | 2e1158c846591476f24d38425783b4eeaa365bc0 /components/script/dom/bindings/trace.rs | |
parent | 13e7de482c0f58ca5af30dbca5d94e6b9cedd1cd (diff) | |
download | servo-0038580abf08d40b41136d1350a48da0c757ed77.tar.gz servo-0038580abf08d40b41136d1350a48da0c757ed77.zip |
Replace uses of `for foo in bar.iter()` and `for foo in bar.iter_mut()`
closes #7197
Diffstat (limited to 'components/script/dom/bindings/trace.rs')
-rw-r--r-- | components/script/dom/bindings/trace.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/bindings/trace.rs b/components/script/dom/bindings/trace.rs index 7b9a7999706..423aa62844a 100644 --- a/components/script/dom/bindings/trace.rs +++ b/components/script/dom/bindings/trace.rs @@ -429,7 +429,7 @@ impl RootedTraceableSet { } unsafe fn trace(&self, tracer: *mut JSTracer) { - for info in self.set.iter() { + for info in &self.set { (info.trace)(info.ptr, tracer); } } |