diff options
Diffstat (limited to 'tokio/tests/timer_hammer.rs')
-rw-r--r-- | tokio/tests/timer_hammer.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tokio/tests/timer_hammer.rs b/tokio/tests/timer_hammer.rs index b53ff250..b6800d61 100644 --- a/tokio/tests/timer_hammer.rs +++ b/tokio/tests/timer_hammer.rs @@ -1,11 +1,9 @@ #![warn(rust_2018_idioms)] +use tokio::executor::current_thread::CurrentThread; +use tokio::executor::park::{Park, Unpark, UnparkThread}; use tokio::timer::{Delay, Timer}; -use tokio_executor::current_thread::CurrentThread; -use tokio_executor::park::{Park, Unpark, UnparkThread}; - -use rand; use rand::Rng; use std::cmp; use std::future::Future; |