mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
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:
parent
ce16075588
commit
6422f38574
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue