diff options
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r-- | components/layout/construct.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs index 79d72c8471c..807bac242cc 100644 --- a/components/layout/construct.rs +++ b/components/layout/construct.rs @@ -140,22 +140,22 @@ pub struct InlineFragmentsConstructionResult { /// /// The resulting `ConstructionItem` for the outer `span` will be: /// -/// ```ignore +/// ```rust,ignore /// ConstructionItem::InlineFragments( -/// InlineFragmentsConstructionResult{ +/// InlineFragmentsConstructionResult { /// splits: linked_list![ -/// InlineBlockSplit{ -/// predecessors: IntermediateInlineFragments{ +/// InlineBlockSplit { +/// predecessors: IntermediateInlineFragments { /// fragments: linked_list![A], -/// absolute_descendents: AbsoluteDescendents{ +/// absolute_descendents: AbsoluteDescendents { /// descendant_links: vec![] -/// } +/// }, /// }, -/// flow: B +/// flow: B, /// } /// ], /// fragments: linked_list![C], -/// } +/// }, /// ) /// ``` #[derive(Clone)] |