fix clippy warning (#32667)

This commit is contained in:
atbrakhi 2024-07-02 16:59:46 +02:00 committed by GitHub
parent c0105de82b
commit 044ab3eeab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 8 additions and 14 deletions

View file

@ -632,10 +632,9 @@ impl HoistedAbsolutelyPositionedBox {
let (block_size, inline_size) =
match independent_layout.content_inline_size_for_table {
Some(inline_size) => (
independent_layout.content_block_size.into(),
inline_size.into(),
),
Some(inline_size) => {
(independent_layout.content_block_size, inline_size)
},
None => (
size.auto_is(|| independent_layout.content_block_size),
inline_size,