aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/construct.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2018-01-19 12:12:47 +0100
committerAnthony Ramine <n.oxyde@gmail.com>2018-01-20 15:33:39 +0100
commita311e0f569f8aba447aeef3034a37ee900720307 (patch)
treec5cc08df49134de8d987e7149fbccde709f74418 /components/layout/construct.rs
parentc2ed7c963262e58f4222d7b958da04b773e20014 (diff)
downloadservo-a311e0f569f8aba447aeef3034a37ee900720307.tar.gz
servo-a311e0f569f8aba447aeef3034a37ee900720307.zip
Merge layout and layout_tests
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r--components/layout/construct.rs16
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)]