aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-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(),