aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/flow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/flow.rs')
-rw-r--r--components/layout/flow.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/flow.rs b/components/layout/flow.rs
index d2843b7d021..d7dab549958 100644
--- a/components/layout/flow.rs
+++ b/components/layout/flow.rs
@@ -1086,7 +1086,7 @@ impl BaseFlow {
DisplayListBuildingResult::Normal(ref display_list) => display_list.all_display_items(),
};
- for item in all_items.iter() {
+ for item in &all_items {
let paint_bounds = item.base().clip.clone().intersect_rect(&item.base().bounds);
if !paint_bounds.might_be_nonempty() {
continue;