summaryrefslogtreecommitdiff
path: root/src/thread_parker/wasm.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread_parker/wasm.rs')
-rw-r--r--src/thread_parker/wasm.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread_parker/wasm.rs b/src/thread_parker/wasm.rs
index ba4118c..657425f 100644
--- a/src/thread_parker/wasm.rs
+++ b/src/thread_parker/wasm.rs
@@ -8,8 +8,8 @@
//! The wasm platform can't park when atomic support is not available.
//! So this ThreadParker just panics on any attempt to park.
-use instant::Instant;
use std::thread;
+use std::time::Instant;
pub struct ThreadParker(());