diff options
Diffstat (limited to 'src/components/layout/wrapper.rs')
-rw-r--r-- | src/components/layout/wrapper.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/layout/wrapper.rs b/src/components/layout/wrapper.rs index e5d450d93f7..9616eedcb3a 100644 --- a/src/components/layout/wrapper.rs +++ b/src/components/layout/wrapper.rs @@ -536,7 +536,7 @@ impl<'ln> ThreadSafeLayoutNode<'ln> { /// Creates a new `ThreadSafeLayoutNode` for the same `LayoutNode` /// with a different pseudo-element type. - pub fn with_pseudo(&self, pseudo: PseudoElementType) -> ThreadSafeLayoutNode<'ln> { + fn with_pseudo(&self, pseudo: PseudoElementType) -> ThreadSafeLayoutNode<'ln> { ThreadSafeLayoutNode { node: self.node.clone(), pseudo: pseudo, |