From 7c7f76ca75ceced0dfa12a9003b2edb8f76605ef Mon Sep 17 00:00:00 2001 From: Michael Howell Date: Fri, 23 Dec 2016 17:23:12 +0000 Subject: [PATCH] Fix an outdated comment --- components/layout/construct.rs | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/components/layout/construct.rs b/components/layout/construct.rs index 394b5d91fcf4..660d4f64834b 100644 --- a/components/layout/construct.rs +++ b/components/layout/construct.rs @@ -141,17 +141,22 @@ pub struct InlineFragmentsConstructionResult { /// The resulting `ConstructionItem` for the outer `span` will be: /// /// ```ignore -/// ConstructionItem::InlineFragments(Some(~[ -/// InlineBlockSplit { -/// predecessor_fragments: ~[ -/// A +/// ConstructionItem::InlineFragments( +/// InlineFragmentsConstructionResult{ +/// splits: linked_list![ +/// InlineBlockSplit{ +/// predecessors: IntermediateInlineFragments{ +/// fragments: linked_list![A], +/// absolute_descendents: AbsoluteDescendents{ +/// descendant_links: vec![] +/// } +/// }, +/// flow: B +/// } /// ], -/// block: ~BlockFlow { -/// B -/// }, -/// }),~[ -/// C -/// ]) +/// fragments: linked_list![C], +/// } +/// ) /// ``` #[derive(Clone)] pub struct InlineBlockSplit {