diff options
author | Carl Lerche <me@carllerche.com> | 2019-10-28 21:40:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-28 21:40:29 -0700 |
commit | c62ef2d232dea1535a8e22484fa2ca083f03e903 (patch) | |
tree | 40cacadf882433fa22a87c4911e160581b596ed8 /tokio/src/net/addr.rs | |
parent | 7eb264a0d0ee68433b20ecafabed53a70a9d43a4 (diff) |
executor: move into `tokio` crate (#1702)
A step towards collapsing Tokio sub crates into a single `tokio`
crate (#1318).
The executor implementation is now provided by the main `tokio` crate.
Functionality can be opted out of by using the various net related
feature flags.
Diffstat (limited to 'tokio/src/net/addr.rs')
-rw-r--r-- | tokio/src/net/addr.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tokio/src/net/addr.rs b/tokio/src/net/addr.rs index 8b782cfa..812964da 100644 --- a/tokio/src/net/addr.rs +++ b/tokio/src/net/addr.rs @@ -1,4 +1,4 @@ -use tokio_executor::blocking; +use crate::executor::blocking; use futures_util::future; use std::io; @@ -143,7 +143,7 @@ pub(crate) mod sealed { //! part of the `ToSocketAddrs` public API. The details will change over //! time. - use tokio_executor::blocking::Blocking; + use crate::executor::blocking::Blocking; use futures_core::ready; use std::future::Future; |