From 244bd11f3fb2b5f765b3f86e9f85cbaebe06bced Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Sun, 25 Oct 2015 11:13:37 +0100 Subject: [PATCH] Privatize LayoutNode::chain. There is no reason for this field to be public. --- components/layout/wrapper.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/layout/wrapper.rs b/components/layout/wrapper.rs index 38c23cd0b47..61bd20204bb 100644 --- a/components/layout/wrapper.rs +++ b/components/layout/wrapper.rs @@ -81,7 +81,7 @@ pub struct LayoutNode<'a> { node: LayoutJS, /// Being chained to a PhantomData prevents `LayoutNode`s from escaping. - pub chain: PhantomData<&'a ()>, + chain: PhantomData<&'a ()>, } impl<'a> PartialEq for LayoutNode<'a> {