aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2014-04-11 21:26:16 +0100
committerSimon Sapin <simon.sapin@exyr.org>2014-04-14 14:59:03 +0100
commitd9c6ac5ca1e1da871de0546a6091b3b6fcf7351a (patch)
treedbfb1fc75e5e8ccbec72c4069ea2b4842c0e1145 /src
parent7f139b2b0700973d4e4a2e7c1a99652e90414555 (diff)
downloadservo-d9c6ac5ca1e1da871de0546a6091b3b6fcf7351a.tar.gz
servo-d9c6ac5ca1e1da871de0546a6091b3b6fcf7351a.zip
fixup! Merge new_with_pseudo_without_self() and new_with_pseudo() into with_pseudo()
Diffstat (limited to 'src')
-rw-r--r--src/components/main/layout/wrapper.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/main/layout/wrapper.rs b/src/components/main/layout/wrapper.rs
index b4b385d54f5..b0b8c82c252 100644
--- a/src/components/main/layout/wrapper.rs
+++ b/src/components/main/layout/wrapper.rs
@@ -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(),