summaryrefslogtreecommitdiff
path: root/src/thread_parker/generic.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread_parker/generic.rs')
-rw-r--r--src/thread_parker/generic.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread_parker/generic.rs b/src/thread_parker/generic.rs
index 990bcb7..93c94fa 100644
--- a/src/thread_parker/generic.rs
+++ b/src/thread_parker/generic.rs
@@ -8,8 +8,8 @@
//! A simple spin lock based thread parker. Used on platforms without better
//! parking facilities available.
-use core::sync::atomic::{AtomicBool, Ordering};
use core::hint::spin_loop;
+use core::sync::atomic::{AtomicBool, Ordering};
use std::thread;
use std::time::Instant;