mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Replace uses of for foo in bar.iter()
and for foo in bar.iter_mut()
closes #7197
This commit is contained in:
parent
13e7de482c
commit
0038580abf
55 changed files with 141 additions and 154 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue