aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/script_task.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2014-05-29 19:31:42 +0530
committerManish Goregaokar <manishsmail@gmail.com>2014-05-29 19:31:42 +0530
commit01ade04e01e1733749451073591987f5aaf9af7f (patch)
tree6e345053d7ec6c219e893823d69867447e2e69b9 /src/components/script/script_task.rs
parent43beda87b2aeb18afd1d4bb7f5322bd80d2ea62c (diff)
downloadservo-01ade04e01e1733749451073591987f5aaf9af7f.tar.gz
servo-01ade04e01e1733749451073591987f5aaf9af7f.zip
Fix unused_result warning in script_task
Diffstat (limited to 'src/components/script/script_task.rs')
-rw-r--r--src/components/script/script_task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/script_task.rs b/src/components/script/script_task.rs
index 12035753527..3a40303321b 100644
--- a/src/components/script/script_task.rs
+++ b/src/components/script/script_task.rs
@@ -1136,7 +1136,7 @@ impl ScriptTask {
let mut event = Event::new(&*window).root();
event.InitEvent("click".to_owned(), true, true);
let eventtarget: &JSRef<EventTarget> = EventTargetCast::from_ref(&node);
- eventtarget.dispatch_event_with_target(None, &mut *event);
+ let _ = eventtarget.dispatch_event_with_target(None, &mut *event);
}
None => {}
}