remove unnecessary extern crate lines

This commit is contained in:
Daniel Eades
2019-08-07 21:26:07 +01:00
committed by Sean McArthur
parent 5dc5162765
commit 1452ca2bd1
8 changed files with 14 additions and 50 deletions

View File

@@ -1,9 +1,9 @@
use futures::Future;
use futures::{Future, try_ready};
use http::uri::Scheme;
use hyper::client::connect::{Connect, Connected, Destination};
use tokio_io::{AsyncRead, AsyncWrite};
use tokio_timer::Timeout;
use log::{trace, debug};
#[cfg(feature = "default-tls")]
use native_tls::{TlsConnector, TlsConnectorBuilder};
@@ -488,7 +488,7 @@ mod native_tls_async {
use futures::{Poll, Future, Async};
use native_tls::{self, HandshakeError, Error, TlsConnector};
use tokio_io::{AsyncRead, AsyncWrite};
use tokio_io::{AsyncRead, AsyncWrite, try_nb};
/// A wrapper around an underlying raw stream which implements the TLS or SSL
/// protocol.