summaryrefslogtreecommitdiffstats
path: root/tokio/src/runtime/threadpool/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/src/runtime/threadpool/mod.rs')
-rw-r--r--tokio/src/runtime/threadpool/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tokio/src/runtime/threadpool/mod.rs b/tokio/src/runtime/threadpool/mod.rs
index 441b2059..983d2d28 100644
--- a/tokio/src/runtime/threadpool/mod.rs
+++ b/tokio/src/runtime/threadpool/mod.rs
@@ -9,10 +9,10 @@ pub use self::spawner::Spawner;
#[allow(unreachable_pub)] // https://github.com/rust-lang/rust/issues/57411
pub use tokio_executor::thread_pool::JoinHandle;
+use crate::net::driver;
use crate::timer::timer;
use tokio_executor::thread_pool::ThreadPool;
-use tokio_net::driver;
use std::future::Future;
use std::io;
@@ -42,7 +42,7 @@ struct Inner {
pool: ThreadPool,
/// Reactor handles
- reactor_handles: Vec<tokio_net::driver::Handle>,
+ reactor_handles: Vec<crate::net::driver::Handle>,
/// Timer handles
timer_handles: Vec<timer::Handle>,