From 0f4522c36087e44c82b8ad1c0d9a47e6a638aaae Mon Sep 17 00:00:00 2001 From: Wepngong Maureen Date: Fri, 8 Mar 2024 20:53:44 +0100 Subject: [PATCH] Fixed unresolved links by appropriately linking to parent (#31588) Signed-off-by: Wepngong Maureen --- components/layout_2020/flow/text_run.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/layout_2020/flow/text_run.rs b/components/layout_2020/flow/text_run.rs index c544342a3a3..7b7dc3d42a7 100644 --- a/components/layout_2020/flow/text_run.rs +++ b/components/layout_2020/flow/text_run.rs @@ -76,7 +76,7 @@ enum SegmentStartSoftWrapPolicy { #[derive(Debug, Serialize)] pub(crate) struct TextRunSegment { - /// The index of this font in the parent [`InlineFormattingContext`]'s collection of font + /// The index of this font in the parent [`super::InlineFormattingContext`]'s collection of font /// information. pub font_index: usize, @@ -524,7 +524,7 @@ pub struct WhitespaceCollapse { white_space: WhiteSpace, /// Whether or not we should collapse white space completely at the start of the string. - /// This is true when the last character handled in our owning [`InlineFormattingContext`] + /// This is true when the last character handled in our owning [`super::InlineFormattingContext`] /// was collapsible white space. remove_collapsible_white_space_at_start: bool,