diff options
author | Oriol Brufau <obrufau@igalia.com> | 2024-01-25 10:03:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-25 09:03:31 +0000 |
commit | 50f56affe35a5565f99226daeb29843246c32b69 (patch) | |
tree | 23a027edebdc2aae64bb37b4ecfd0f48639fa08c /components/layout_2020/flow/line.rs | |
parent | 886f6c58d4cd149fe3238d668bd2f9fd5db78071 (diff) | |
download | servo-50f56affe35a5565f99226daeb29843246c32b69.tar.gz servo-50f56affe35a5565f99226daeb29843246c32b69.zip |
Lint layout_2020 with clippy (#31169)
cargo clippy --fix -p layout_2020 --allow-dirty --broken-code
Diffstat (limited to 'components/layout_2020/flow/line.rs')
-rw-r--r-- | components/layout_2020/flow/line.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout_2020/flow/line.rs b/components/layout_2020/flow/line.rs index 0c0a4c026de..146f3388120 100644 --- a/components/layout_2020/flow/line.rs +++ b/components/layout_2020/flow/line.rs @@ -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 = |