aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/servohtmlparser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/servohtmlparser.rs')
-rw-r--r--components/script/dom/servohtmlparser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/servohtmlparser.rs b/components/script/dom/servohtmlparser.rs
index 061cdd533c7..4999d600a20 100644
--- a/components/script/dom/servohtmlparser.rs
+++ b/components/script/dom/servohtmlparser.rs
@@ -48,7 +48,7 @@ impl Sink {
NodeOrText::AppendNode(n) => n.root(),
NodeOrText::AppendText(t) => {
let text = Text::new(t.into(), &self.document);
- Root::upcast::<Node>(text)
+ Root::upcast(text)
}
}
}