clippy fixes regarding clone_from (#32482)

This commit is contained in:
Peter Mikola 2024-06-12 19:09:56 +02:00 committed by GitHub
parent fd472ebd0e
commit 0a641816bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 35 additions and 19 deletions

View file

@ -944,7 +944,9 @@ pub fn propagate_column_inline_sizes_to_child(
column_computed_inline_sizes.to_vec();
child_table_row_flow.spacing = *border_spacing;
child_table_row_flow.table_writing_mode = table_writing_mode;
child_table_row_flow.incoming_rowspan = incoming_rowspan.clone();
child_table_row_flow
.incoming_rowspan
.clone_from(incoming_rowspan);
// Update the incoming rowspan for the next row.
let mut col = 0;