mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Fix some no_move errors
This commit is contained in:
parent
63714ebc5f
commit
dcb0a0eab6
17 changed files with 46 additions and 34 deletions
|
@ -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())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue