mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
rustdoc: Fix two warnings in components/layout_2020
(#31712)
* Fix BoxFragment reference. Signed-off-by: Rhea Karty <rheakarty@gmail.com> * Fix reference to InlineFormattingContext. Signed-off-by: Rhea Karty <rheakarty@gmail.com> * Rewrap lines to avoid long length * Remove trailing whitesapce --------- Signed-off-by: Rhea Karty <rheakarty@gmail.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
99ddab43e8
commit
1ab8fa2895
2 changed files with 4 additions and 3 deletions
|
@ -32,7 +32,8 @@ use crate::style_ext::PaddingBorderMargin;
|
|||
use crate::ContainingBlock;
|
||||
|
||||
pub(super) struct LineMetrics {
|
||||
/// The block offset of the line start in the containing [`InlineFormattingContext`].
|
||||
/// The block offset of the line start in the containing
|
||||
/// [`crate::flow::InlineFormattingContext`].
|
||||
pub block_offset: Length,
|
||||
|
||||
/// The block size of this line.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue