diff --git a/src/happy_eyeballs.rs b/src/happy_eyeballs.rs index 6d201fde..6e7f0275 100644 --- a/src/happy_eyeballs.rs +++ b/src/happy_eyeballs.rs @@ -5,7 +5,8 @@ use std::collections::BTreeMap; use std::collections::VecDeque; use std::cell::RefCell; use futures::{Future, Poll, Async}; -use tokio::net::{ConnectFuture, TcpStream}; +use tokio::net::TcpStream; +use tokio::net::tcp::ConnectFuture; use trust_dns_resolver::{IntoName, Name, ResolverFuture, error::ResolveError}; use trust_dns_resolver::lookup::SrvLookupFuture; use trust_dns_resolver::lookup_ip::LookupIpFuture;