mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +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
|
@ -1771,7 +1771,7 @@ impl InlineFlowDisplayListBuilding for InlineFlow {
|
|||
|
||||
let mut display_list = box DisplayList::new();
|
||||
let mut has_stacking_context = false;
|
||||
for fragment in self.fragments.fragments.iter_mut() {
|
||||
for fragment in &mut self.fragments.fragments {
|
||||
fragment.build_display_list(&mut *display_list,
|
||||
layout_context,
|
||||
&self.base.stacking_relative_position,
|
||||
|
@ -2026,4 +2026,3 @@ pub enum StackingContextCreationMode {
|
|||
OuterScrollWrapper,
|
||||
InnerScrollWrapper,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue