Skip to content

Commit

Permalink
cleanup all warnings in rustls
Browse files Browse the repository at this point in the history
  • Loading branch information
bluejekyll committed Oct 11, 2017
1 parent 107d646 commit 56874c5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion rustls/src/tls_client_connection.rs
Expand Up @@ -22,7 +22,7 @@ use rustls::Certificate;
use tokio_core::reactor::Core;

use trust_dns::error::*;
use trust_dns::client::{ClientConnection, ClientStreamHandle};
use trust_dns::client::ClientConnection;
use trust_dns_proto::DnsStreamHandle;

use TlsClientStream;
Expand Down
3 changes: 0 additions & 3 deletions rustls/src/tls_client_stream.rs
Expand Up @@ -14,12 +14,9 @@ use tokio_core::net::TcpStream as TokioTcpStream;
use tokio_core::reactor::Handle;
use tokio_rustls::TlsStream as TokioTlsStream;

use trust_dns::BufClientStreamHandle;
use trust_dns::tcp::TcpClientStream;
use trust_dns::client::ClientStreamHandle;
use trust_dns_proto::{BufDnsStreamHandle, DnsStreamHandle};


use TlsStreamBuilder;

pub type TlsClientStream = TcpClientStream<TokioTlsStream<TokioTcpStream, ClientSession>>;
Expand Down

0 comments on commit 56874c5

Please sign in to comment.