mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
clippy: Fix several warnings (#31710)
Signed-off-by: RustAndMetal <111676747+RustAndMetal@users.noreply.github.com>
This commit is contained in:
parent
1ab8fa2895
commit
f6a975fc58
23 changed files with 75 additions and 86 deletions
|
@ -1478,7 +1478,7 @@ impl<'a> TableLayout<'a> {
|
|||
baselines.last = Some(row_end);
|
||||
}
|
||||
|
||||
let column_indices = 0..self.table.size.width.clone();
|
||||
let column_indices = 0..self.table.size.width;
|
||||
row_fragment_layout.fragments.reserve(self.table.size.width);
|
||||
for column_index in column_indices {
|
||||
// The PositioningContext for cells is, in order or preference, the PositioningContext of the row,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue