mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
Use tokio::net::tcp::ConnectFuture directly.
This removes this warning: ``` warning: use of deprecated item 'tokio::net::ConnectFuture': use `tokio::net::tcp::ConnectFuture` instead ```
This commit is contained in:
parent
3c82965581
commit
4ab3890cd3
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,8 @@ use std::collections::BTreeMap;
|
||||||
use std::collections::VecDeque;
|
use std::collections::VecDeque;
|
||||||
use std::cell::RefCell;
|
use std::cell::RefCell;
|
||||||
use futures::{Future, Poll, Async};
|
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::{IntoName, Name, ResolverFuture, error::ResolveError};
|
||||||
use trust_dns_resolver::lookup::SrvLookupFuture;
|
use trust_dns_resolver::lookup::SrvLookupFuture;
|
||||||
use trust_dns_resolver::lookup_ip::LookupIpFuture;
|
use trust_dns_resolver::lookup_ip::LookupIpFuture;
|
||||||
|
|
Loading…
Reference in a new issue