Skip to content

Commit e394596

Browse files
committed
Fmt
1 parent 11baa0e commit e394596

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/global_wasm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use futures::task::{self, ArcWake};
2-
use std::sync::Mutex;
32
use std::convert::TryFrom;
43
use std::future::Future;
54
use std::pin::Pin;
65
use std::sync::Arc;
6+
use std::sync::Mutex;
77
use std::task::Context;
88
use std::time::Duration;
99
use wasm_bindgen::{closure::Closure, JsCast};

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ use heap_timer::HeapTimer;
3434
use timer::{ScheduledTimer, Timer, TimerHandle};
3535

3636
pub use self::delay::Delay;
37-
#[cfg(all(target_arch = "wasm32", target_os = "unknown"))]
38-
use wasm_timer::Instant;
3937
#[cfg(not(all(target_arch = "wasm32", target_os = "unknown")))]
4038
use std::time::Instant;
39+
#[cfg(all(target_arch = "wasm32", target_os = "unknown"))]
40+
use wasm_timer::Instant;

0 commit comments

Comments
 (0)