diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-04-27 23:14:25 -0500 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-04-27 23:14:25 -0500 |
commit | d7987e43c944eb9b156bf3244c08fce4cb570db4 (patch) | |
tree | 981a01b544e1c3f2a57fb003ade762093e981aa1 /components/script/dom/domimplementation.rs | |
parent | 8ecb9d681c385995b082d67874fdfa7f1e929e1f (diff) | |
parent | 369a568264f8c9095681f2fee5c6bad03f312cbc (diff) | |
download | servo-d7987e43c944eb9b156bf3244c08fce4cb570db4.tar.gz servo-d7987e43c944eb9b156bf3244c08fce4cb570db4.zip |
Auto merge of #5855 - Manishearth:nomove, r=kmc,munksgaard
fixes #5724, #5737
uses https://github.com/Manishearth/rust-tenacious (can be moved in-tree if needed)
I can make it `Deny` by default too (I'll add a cargo feature to tenacious), though we might want it on
`Warn` until we get some mileage on it.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5855)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/domimplementation.rs')
-rw-r--r-- | components/script/dom/domimplementation.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/domimplementation.rs b/components/script/dom/domimplementation.rs index 07eb80561bf..6a871f992c2 100644 --- a/components/script/dom/domimplementation.rs +++ b/components/script/dom/domimplementation.rs @@ -92,7 +92,7 @@ impl<'a> DOMImplementationMethods for JSRef<'a, DOMImplementation> { // Step 5. match maybe_elem.root() { None => (), - Some(elem) => { + Some(ref elem) => { assert!(doc_node.AppendChild(NodeCast::from_ref(elem.r())).is_ok()) } } |