mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
sorted the extern crate, mod & use declarations
This commit is contained in:
parent
705ad72aee
commit
889eec364b
194 changed files with 804 additions and 870 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue