diff --git a/components/layout_2020/flow/line.rs b/components/layout_2020/flow/line.rs index 9661fe0d819..390ed4abf99 100644 --- a/components/layout_2020/flow/line.rs +++ b/components/layout_2020/flow/line.rs @@ -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. diff --git a/components/layout_2020/formatting_contexts.rs b/components/layout_2020/formatting_contexts.rs index be481c5ece9..347e88ad96e 100644 --- a/components/layout_2020/formatting_contexts.rs +++ b/components/layout_2020/formatting_contexts.rs @@ -59,8 +59,8 @@ pub(crate) enum NonReplacedFormattingContextContents { // Other layout modes go here } -/// The baselines of a layout or a [`BoxFragment`]. Some layout uses the first and some layout uses -/// the last. +/// The baselines of a layout or a [`crate::fragment_tree::BoxFragment`]. Some layout +/// uses the first and some layout uses the last. #[derive(Debug, Default, Serialize)] pub(crate) struct Baselines { pub first: Option,