diff options
author | Peter Mikola <mikopet@mikopet.dev> | 2024-06-12 19:09:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-12 17:09:56 +0000 |
commit | 0a641816bf8f402800d7ecec12d2d64505975c16 (patch) | |
tree | cbd4d66d6ffa52903cdf21679c3e0c3ec4bfef94 /components/layout/table_wrapper.rs | |
parent | fd472ebd0edc8eb91155b20e95ea9acfa6e77573 (diff) | |
download | servo-0a641816bf8f402800d7ecec12d2d64505975c16.tar.gz servo-0a641816bf8f402800d7ecec12d2d64505975c16.zip |
clippy fixes regarding clone_from (#32482)
Diffstat (limited to 'components/layout/table_wrapper.rs')
-rw-r--r-- | components/layout/table_wrapper.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/layout/table_wrapper.rs b/components/layout/table_wrapper.rs index 3d5bc557561..26ff771e61b 100644 --- a/components/layout/table_wrapper.rs +++ b/components/layout/table_wrapper.rs @@ -360,7 +360,8 @@ impl Flow for TableWrapperFlow { debug_assert!(kid.is_table_caption() || kid.is_table()); if kid.is_table() { let table = kid.as_table(); - self.column_intrinsic_inline_sizes = table.column_intrinsic_inline_sizes.clone(); + self.column_intrinsic_inline_sizes + .clone_from(&table.column_intrinsic_inline_sizes) } } |