Skip to content

Commit

Permalink
drop try! from parse_fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisParis committed Apr 6, 2015
1 parent d83f4d8 commit b0ba4d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/script/dom/node.rs
Expand Up @@ -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()))
}
Expand Down

0 comments on commit b0ba4d1

Please sign in to comment.