From 57f63b350e241fb65af2bc37004218db5f50713e Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Sun, 6 Apr 2014 02:53:33 +0530 Subject: fix visibility warnings in main crate (#2044) --- src/components/main/layout/construct.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/components/main/layout/construct.rs') diff --git a/src/components/main/layout/construct.rs b/src/components/main/layout/construct.rs index 398f915197b..82026d28bce 100644 --- a/src/components/main/layout/construct.rs +++ b/src/components/main/layout/construct.rs @@ -98,7 +98,7 @@ impl ConstructionResult { /// Represents the output of flow construction for a DOM node that has not yet resulted in a /// complete flow. Construction items bubble up the tree until they find a `Flow` to be /// attached to. -enum ConstructionItem { +pub enum ConstructionItem { /// Inline boxes and associated {ib} splits that have not yet found flows. InlineBoxesConstructionItem(InlineBoxesConstructionResult), /// Potentially ignorable whitespace. @@ -124,7 +124,7 @@ impl ConstructionItem { } /// Represents inline boxes and {ib} splits that are bubbling up from an inline. -struct InlineBoxesConstructionResult { +pub struct InlineBoxesConstructionResult { /// Any {ib} splits that we're bubbling up. /// /// TODO(pcwalton): Small vector optimization. @@ -159,7 +159,7 @@ struct InlineBoxesConstructionResult { /// }),~[ /// C /// ]) -struct InlineBlockSplit { +pub struct InlineBlockSplit { /// The inline boxes that precede the flow. /// /// TODO(pcwalton): Small vector optimization. -- cgit v1.2.3