diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2014-04-06 02:53:33 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2014-04-06 02:53:33 +0530 |
commit | 57f63b350e241fb65af2bc37004218db5f50713e (patch) | |
tree | eba4e3f24ac41ce64bbc9386fec8dc3c7351b076 /src/components/main/layout/construct.rs | |
parent | 44e7e365c9a7a7c3acb70010e140f3f11b4f9def (diff) | |
download | servo-57f63b350e241fb65af2bc37004218db5f50713e.tar.gz servo-57f63b350e241fb65af2bc37004218db5f50713e.zip |
fix visibility warnings in main crate (#2044)
Diffstat (limited to 'src/components/main/layout/construct.rs')
-rw-r--r-- | src/components/main/layout/construct.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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. |