aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/construct.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2016-12-23 17:23:12 +0000
committerMichael Howell <michael@notriddle.com>2016-12-23 17:23:12 +0000
commit7c7f76ca75ceced0dfa12a9003b2edb8f76605ef (patch)
tree7224ccb64af14a3fda189ac186838c85b756a929 /components/layout/construct.rs
parentdd2aa4195ab1ac853a5b80c6aa0a0d9c1fae055c (diff)
downloadservo-7c7f76ca75ceced0dfa12a9003b2edb8f76605ef.tar.gz
servo-7c7f76ca75ceced0dfa12a9003b2edb8f76605ef.zip
Fix an outdated comment
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 {