mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
fix clippy warning (#32667)
This commit is contained in:
parent
c0105de82b
commit
044ab3eeab
5 changed files with 8 additions and 14 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue