Privatize LayoutNode::chain.

There is no reason for this field to be public.
This commit is contained in:
Ms2ger 2015-10-25 11:13:37 +01:00
parent 430578355b
commit 244bd11f3f

View file

@ -81,7 +81,7 @@ pub struct LayoutNode<'a> {
node: LayoutJS<Node>,
/// Being chained to a PhantomData prevents `LayoutNode`s from escaping.
pub chain: PhantomData<&'a ()>,
chain: PhantomData<&'a ()>,
}
impl<'a> PartialEq for LayoutNode<'a> {