mirror of
https://github.com/servo/servo.git
synced 2025-06-24 17:14:33 +01:00
fixup! Merge new_with_pseudo_without_self() and new_with_pseudo() into with_pseudo()
This commit is contained in:
parent
7f139b2b07
commit
d9c6ac5ca1
1 changed files with 1 additions and 1 deletions
|
@ -498,7 +498,7 @@ impl<'ln> ThreadSafeLayoutNode<'ln> {
|
|||
}
|
||||
|
||||
/// Creates a new `ThreadSafeLayoutNode` for the same `LayoutNode`
|
||||
/// with a differet pseudo-element type.
|
||||
/// with a different pseudo-element type.
|
||||
pub fn with_pseudo(&self, pseudo: PseudoElementType) -> ThreadSafeLayoutNode<'ln> {
|
||||
ThreadSafeLayoutNode {
|
||||
node: self.node.clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue