mirror of
https://github.com/servo/servo.git
synced 2025-07-30 18:50:36 +01:00
drop try! from parse_fragment
This commit is contained in:
parent
d83f4d8a6e
commit
b0ba4d17ee
1 changed files with 1 additions and 1 deletions
|
@ -946,7 +946,7 @@ impl<'a> NodeHelpers<'a> for JSRef<'a, Node> {
|
|||
let fragment = DocumentFragment::new(context_document.r()).root();
|
||||
let fragment_node: JSRef<Node> = NodeCast::from_ref(fragment.r());
|
||||
for node in new_children {
|
||||
try!(fragment_node.AppendChild(node.root().r()));
|
||||
let _ = fragment_node.AppendChild(node.root().r());
|
||||
}
|
||||
Ok(Temporary::from_rooted(fragment.r()))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue