mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
rustdoc: Fix warnings in components/layout_2020
(#31640)
* Changed LineItems to LineItem to make it a clickable link * No variant named Anonymous is present in Fragment.
This commit is contained in:
parent
38db1a5ce9
commit
f5a1879bac
1 changed files with 3 additions and 3 deletions
|
@ -174,7 +174,7 @@ struct LineUnderConstruction {
|
|||
/// offset from `text-indent`.
|
||||
start_position: LogicalVec2<Length>,
|
||||
|
||||
/// The current inline position in the line being laid out into [`LineItems`] in this
|
||||
/// The current inline position in the line being laid out into [`LineItem`]s in this
|
||||
/// [`InlineFormattingContext`] independent of the depth in the nesting level.
|
||||
inline_position: Length,
|
||||
|
||||
|
@ -188,7 +188,7 @@ struct LineUnderConstruction {
|
|||
has_content: bool,
|
||||
|
||||
/// Whether or not there are floats that did not fit on the current line. Before
|
||||
/// the [`LineItems`] of this line are laid out, these floats will need to be
|
||||
/// the [`LineItem`]s of this line are laid out, these floats will need to be
|
||||
/// placed directly below this line, but still as children of this line's Fragments.
|
||||
has_floats_waiting_to_be_placed: bool,
|
||||
|
||||
|
@ -605,7 +605,7 @@ pub(super) struct InlineFormattingContextState<'a, 'b> {
|
|||
/// of the inline box is the state popped from the stack.
|
||||
inline_box_state_stack: Vec<InlineBoxContainerState>,
|
||||
|
||||
/// A vector of fragment that are laid out. This includes one [`Fragment::Anonymous`]
|
||||
/// A vector of fragment that are laid out. This includes one [`Fragment::Positioning`]
|
||||
/// per line that is currently laid out plus fragments for all floats, which
|
||||
/// are currently laid out at the top-level of each [`InlineFormattingContext`].
|
||||
fragments: Vec<Fragment>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue