Remove Root<Node> type annotation in SetOuterHTML

The 'use ... Root' was removed from the file by
another commit, and this annotation wasn't necessary anyway.
This commit is contained in:
Chris Paris 2015-04-01 15:00:12 -10:00
parent ce16075588
commit 6422f38574

View file

@ -1194,7 +1194,7 @@ impl<'a> ElementMethods for JSRef<'a, Element> {
Some(parent) => parent.root()
};
let parent: Root<Node> = match context_parent.r().type_id() {
let parent = match context_parent.r().type_id() {
// Step 3.
NodeTypeId::Document => return Err(NoModificationAllowed),