test(client): update from deprecated export of ConnectFuture

This commit is contained in:
Sean McArthur
2018-09-27 15:29:57 -07:00
parent 5bfc110538
commit 0cfa7231b2

View File

@@ -19,7 +19,7 @@ use futures::{Future, Stream};
use futures::sync::oneshot; use futures::sync::oneshot;
use tokio::reactor::Handle; use tokio::reactor::Handle;
use tokio::runtime::current_thread::Runtime; use tokio::runtime::current_thread::Runtime;
use tokio::net::{ConnectFuture, TcpStream}; use tokio::net::tcp::{ConnectFuture, TcpStream};
fn s(buf: &[u8]) -> &str { fn s(buf: &[u8]) -> &str {
::std::str::from_utf8(buf).expect("from_utf8") ::std::str::from_utf8(buf).expect("from_utf8")