aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/timers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/timers.rs')
-rw-r--r--components/script/timers.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/components/script/timers.rs b/components/script/timers.rs
index 979f03396ee..97aa20a3fa7 100644
--- a/components/script/timers.rs
+++ b/components/script/timers.rs
@@ -9,9 +9,9 @@ use dom::bindings::global::global_object_for_js_object;
use dom::bindings::utils::Reflectable;
use dom::window::ScriptHelpers;
use horribly_inefficient_timers;
-use js::jsapi::{RootedValue, HandleValue, Heap};
+use js::jsapi::{HandleValue, Heap, RootedValue};
use js::jsval::{JSVal, UndefinedValue};
-use script_task::{ScriptChan, TimerSource, CommonScriptMsg};
+use script_task::{CommonScriptMsg, ScriptChan, TimerSource};
use std::borrow::ToOwned;
use std::cell::Cell;
use std::cmp;
@@ -20,12 +20,11 @@ use std::default::Default;
use std::hash::{Hash, Hasher};
use std::rc::Rc;
use std::sync::mpsc::Select;
-use std::sync::mpsc::{channel, Sender};
+use std::sync::mpsc::{Sender, channel};
use util::mem::HeapSizeOf;
use util::str::DOMString;
use util::task::spawn_named;
-
#[derive(JSTraceable, PartialEq, Eq, Copy, Clone, HeapSizeOf)]
pub struct TimerId(i32);