test(client): update from deprecated export of ConnectFuture
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user