diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2014-05-29 19:31:42 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2014-05-29 19:31:42 +0530 |
commit | 01ade04e01e1733749451073591987f5aaf9af7f (patch) | |
tree | 6e345053d7ec6c219e893823d69867447e2e69b9 /src | |
parent | 43beda87b2aeb18afd1d4bb7f5322bd80d2ea62c (diff) | |
download | servo-01ade04e01e1733749451073591987f5aaf9af7f.tar.gz servo-01ade04e01e1733749451073591987f5aaf9af7f.zip |
Fix unused_result warning in script_task
Diffstat (limited to 'src')
-rw-r--r-- | src/components/script/script_task.rs | 2 |
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 => {} } |