aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/node.rs
diff options
context:
space:
mode:
authorbors-servo <release+servo@mozilla.com>2014-06-02 20:46:25 -0400
committerbors-servo <release+servo@mozilla.com>2014-06-02 20:46:25 -0400
commit246c9759bee9fa54a9167e9b08478446e80cd80f (patch)
tree6326b310d6c52bdf9ba814baa405ad683a068d7a /src/components/script/dom/node.rs
parent184d8b5bab2aa999280c6c3b7618428bb22b5205 (diff)
parentc85e2c9594ba67783c32123332f71e8c5924d10d (diff)
downloadservo-246c9759bee9fa54a9167e9b08478446e80cd80f.tar.gz
servo-246c9759bee9fa54a9167e9b08478446e80cd80f.zip
auto merge of #2555 : brson/servo/warnings, r=metajack
Depends on https://github.com/mozilla-servo/rust-fontconfig/pull/19, https://github.com/mozilla-servo/rust-harfbuzz/pull/21, https://github.com/mozilla-servo/rust-hubbub/pull/23, https://github.com/mozilla-servo/rust-layers/pull/68, https://github.com/mozilla-servo/sharegl/pull/29, https://github.com/mozilla-servo/rust-mozjs/pull/85.
Diffstat (limited to 'src/components/script/dom/node.rs')
-rw-r--r--src/components/script/dom/node.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/dom/node.rs b/src/components/script/dom/node.rs
index d8344ff7f86..d722d1abe3e 100644
--- a/src/components/script/dom/node.rs
+++ b/src/components/script/dom/node.rs
@@ -1276,7 +1276,7 @@ impl Node {
// Step 6.
if clone_children == CloneChildren {
for ref child in node.children() {
- let mut child_copy = Node::clone(&*child, Some(&*document), clone_children).root();
+ let child_copy = Node::clone(&*child, Some(&*document), clone_children).root();
let _inserted_node = Node::pre_insert(&*child_copy, &*copy, None);
}
}