aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/main/layout/construct.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2014-04-06 02:53:33 +0530
committerManish Goregaokar <manishsmail@gmail.com>2014-04-06 02:53:33 +0530
commit57f63b350e241fb65af2bc37004218db5f50713e (patch)
treeeba4e3f24ac41ce64bbc9386fec8dc3c7351b076 /src/components/main/layout/construct.rs
parent44e7e365c9a7a7c3acb70010e140f3f11b4f9def (diff)
downloadservo-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.rs6
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.