Fix some no_move errors

This commit is contained in:
Manish Goregaokar 2015-04-26 23:01:13 +05:30
parent 63714ebc5f
commit dcb0a0eab6
17 changed files with 46 additions and 34 deletions

View file

@ -115,7 +115,7 @@ pub fn dispatch_event<'a, 'b>(target: JSRef<'a, EventTarget>,
/* default action */
let target = event.GetTarget().root();
match target {
Some(target) => {
Some(ref target) => {
let node: Option<JSRef<Node>> = NodeCast::to_ref(target.r());
match node {
Some(node) => {