mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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
|
@ -325,7 +325,7 @@ impl Flow for TableRowFlow {
|
|||
// Spread out the completed inline sizes among columns with spans > 1.
|
||||
let mut computed_inline_size_for_cells = Vec::new();
|
||||
let mut column_computed_inline_size_iterator = self.column_computed_inline_sizes.iter();
|
||||
for cell_intrinsic_inline_size in self.cell_intrinsic_inline_sizes.iter() {
|
||||
for cell_intrinsic_inline_size in &self.cell_intrinsic_inline_sizes {
|
||||
// Start with the computed inline size for the first column in the span.
|
||||
let mut column_computed_inline_size =
|
||||
match column_computed_inline_size_iterator.next() {
|
||||
|
@ -836,4 +836,3 @@ fn perform_inline_direction_border_collapse_for_row(
|
|||
CollapsedBorderProvenance::FromPreviousTableCell);
|
||||
preliminary_collapsed_borders.block_end.push_or_mutate(child_index, block_end_border);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue