aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/table_colgroup.rs
diff options
context:
space:
mode:
authorJoão Oliveira <hello@jxs.pt>2015-08-15 02:27:04 +0100
committerJoão Oliveira <hello@jxs.pt>2015-08-15 02:27:39 +0100
commit0038580abf08d40b41136d1350a48da0c757ed77 (patch)
tree2e1158c846591476f24d38425783b4eeaa365bc0 /components/layout/table_colgroup.rs
parent13e7de482c0f58ca5af30dbca5d94e6b9cedd1cd (diff)
downloadservo-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/layout/table_colgroup.rs')
-rw-r--r--components/layout/table_colgroup.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/table_colgroup.rs b/components/layout/table_colgroup.rs
index 65990e40599..c562149d5f2 100644
--- a/components/layout/table_colgroup.rs
+++ b/components/layout/table_colgroup.rs
@@ -64,7 +64,7 @@ impl Flow for TableColGroupFlow {
let _scope = layout_debug_scope!("table_colgroup::bubble_inline_sizes {:x}",
self.base.debug_id());
- for fragment in self.cols.iter() {
+ for fragment in &self.cols {
// Retrieve the specified value from the appropriate CSS property.
let inline_size = fragment.style().content_inline_size();
let span = match fragment.specific {