diff options
Diffstat (limited to 'components/layout_2020/flow/construct.rs')
-rw-r--r-- | components/layout_2020/flow/construct.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout_2020/flow/construct.rs b/components/layout_2020/flow/construct.rs index 6b2027a8794..abdfae0bc84 100644 --- a/components/layout_2020/flow/construct.rs +++ b/components/layout_2020/flow/construct.rs @@ -123,7 +123,7 @@ struct BlockContainerBuilder<'dom, 'style, Node> { } impl BlockContainer { - pub fn construct<'dom, 'style>( + pub(crate) fn construct<'dom, 'style>( context: &SharedStyleContext<'style>, block_container_style: &Arc<ComputedValues>, contents: NonReplacedContents<impl NodeExt<'dom>>, @@ -646,7 +646,7 @@ where } #[derive(Clone, Copy, Debug, Eq, PartialEq)] -pub(crate) enum ContainsFloats { +pub enum ContainsFloats { No, Yes, } |