aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/construct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r--components/layout/construct.rs25
1 files changed, 15 insertions, 10 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs
index 394b5d91fcf..660d4f64834 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 {