mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
rustdoc: Fix warnings in components/layout_2020
(#31647)
* Added a : to make it a clickable link * changed block_offset_of_parent to parent_offset , to make it a clickable link.
This commit is contained in:
parent
8cbad332c3
commit
525fc58ed9
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ pub(super) struct LineMetrics {
|
|||
/// The block size of this line.
|
||||
pub block_size: Length,
|
||||
|
||||
/// The block offset of this line's baseline from [`Self:block_offset`].
|
||||
/// The block offset of this line's baseline from [`Self::block_offset`].
|
||||
pub baseline_block_offset: Au,
|
||||
}
|
||||
|
||||
|
@ -51,7 +51,7 @@ pub(super) struct LineItemLayoutState<'a> {
|
|||
pub parent_offset: LogicalVec2<Length>,
|
||||
|
||||
/// The block offset of the parent's baseline relative to the block start of the line. This
|
||||
/// is often the same as [`Self::block_offset_of_parent`], but can be different for the root
|
||||
/// is often the same as [`Self::parent_offset`], but can be different for the root
|
||||
/// element.
|
||||
pub baseline_offset: Au,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue