diff options
author | Ravi Shankar <wafflespeanut@gmail.com> | 2015-09-24 02:12:45 +0530 |
---|---|---|
committer | Ravi Shankar <wafflespeanut@gmail.com> | 2015-09-24 02:12:45 +0530 |
commit | 889eec364b6e3df22d36581008289e6fbfb8b39f (patch) | |
tree | 056e9dbc10fb3879b4a281296fe99e88490aacc3 /components/script/timers.rs | |
parent | 705ad72aee58b4fc636bca3a2784c7643048336d (diff) | |
download | servo-889eec364b6e3df22d36581008289e6fbfb8b39f.tar.gz servo-889eec364b6e3df22d36581008289e6fbfb8b39f.zip |
sorted the extern crate, mod & use declarations
Diffstat (limited to 'components/script/timers.rs')
-rw-r--r-- | components/script/timers.rs | 7 |
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); |