mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Privatize LayoutNode::chain.
There is no reason for this field to be public.
This commit is contained in:
parent
430578355b
commit
244bd11f3f
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ pub struct LayoutNode<'a> {
|
||||||
node: LayoutJS<Node>,
|
node: LayoutJS<Node>,
|
||||||
|
|
||||||
/// Being chained to a PhantomData prevents `LayoutNode`s from escaping.
|
/// Being chained to a PhantomData prevents `LayoutNode`s from escaping.
|
||||||
pub chain: PhantomData<&'a ()>,
|
chain: PhantomData<&'a ()>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> PartialEq for LayoutNode<'a> {
|
impl<'a> PartialEq for LayoutNode<'a> {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue