From a6100563a6e43471ae43fb155113bc2026992f78 Mon Sep 17 00:00:00 2001 From: Lars Bergstrom Date: Fri, 14 Mar 2014 17:06:40 -0500 Subject: Rust upgrade for new master rebase --- src/components/script/script_task.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/script/script_task.rs') diff --git a/src/components/script/script_task.rs b/src/components/script/script_task.rs index 3358d250de7..e82a0e87647 100644 --- a/src/components/script/script_task.rs +++ b/src/components/script/script_task.rs @@ -893,7 +893,7 @@ impl ScriptTask { // "load" event as soon as we've finished executing all scripts parsed during // the initial load. let mut event = Event::new(&window); - let _ = event.get_mut().InitEvent(~"load", false, false); + event.get_mut().InitEvent(~"load", false, false); let doctarget = EventTargetCast::from(&document); let mut wintarget: JS = EventTargetCast::from(&window); let winclone = wintarget.clone(); @@ -1131,7 +1131,7 @@ impl ScriptTask { } else { let ConstellationChan(ref chan) = self.constellation_chan; chan.send(LoadUrlMsg(page.id, url)); - } + } } } } -- cgit v1.2.3