sorted the extern crate, mod & use declarations

This commit is contained in:
Ravi Shankar 2015-09-24 02:12:45 +05:30
parent 705ad72aee
commit 889eec364b
194 changed files with 804 additions and 870 deletions

View file

@ -5,8 +5,8 @@
/// A quick hack to work around the removal of [`std::old_io::timer::Timer`](
/// http://doc.rust-lang.org/1.0.0-beta/std/old_io/timer/struct.Timer.html )
use std::sync::mpsc::{channel, Receiver};
use std::thread::{spawn, sleep_ms};
use std::sync::mpsc::{Receiver, channel};
use std::thread::{sleep_ms, spawn};
pub fn oneshot(duration_ms: u32) -> Receiver<()> {
let (tx, rx) = channel();