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

@ -376,11 +376,6 @@ impl BoxFragment {
(content_rect.origin.x, cb_width - content_rect.max_x())
};
convert_to_length_or_auto(PhysicalSides::new(
top.into(),
right.into(),
bottom.into(),
left.into(),
))
convert_to_length_or_auto(PhysicalSides::new(top, right, bottom, left))
}
}