Skip to content
Permalink
Browse files

drop try! from parse_fragment

  • Loading branch information...
ChrisParis committed Mar 27, 2015
1 parent d83f4d8 commit b0ba4d17eef198c40e87230a817f33dc9740ec09
Showing with 1 addition and 1 deletion.
  1. +1 −1 components/script/dom/node.rs
@@ -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()))
}

0 comments on commit b0ba4d1

Please sign in to comment.
You can’t perform that action at this time.