mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Lint layout_2020 with clippy (#31169)
cargo clippy --fix -p layout_2020 --allow-dirty --broken-code
This commit is contained in:
parent
886f6c58d4
commit
50f56affe3
30 changed files with 224 additions and 244 deletions
|
@ -507,7 +507,7 @@ impl AtomicLineItem {
|
|||
// This needs to be added to the calculated block and inline positions.
|
||||
self.fragment.content_rect.start_corner.inline += state.inline_position;
|
||||
self.fragment.content_rect.start_corner.block +=
|
||||
self.calculate_block_start(&state.line_metrics);
|
||||
self.calculate_block_start(state.line_metrics);
|
||||
|
||||
// Make the final result relative to the parent box.
|
||||
self.fragment.content_rect.start_corner =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue