Skip to content

Commit

Permalink
Make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
chengyuhui committed Feb 3, 2021
1 parent 9198206 commit b50e7eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration-tests/tests/server_future_tests.rs
Expand Up @@ -17,7 +17,7 @@ use trust_dns_client::rr::*;
use trust_dns_client::tcp::TcpClientConnection;
use trust_dns_client::udp::UdpClientConnection;
use trust_dns_proto::xfer::DnsRequestSender;
use trust_dns_proto::{error::ProtoError, iocompat::AsyncIoTokioAsStd};
use trust_dns_proto::error::ProtoError;

use trust_dns_server::authority::{Authority, Catalog};
use trust_dns_server::ServerFuture;
Expand Down Expand Up @@ -199,7 +199,7 @@ fn lazy_tls_client(
ipaddr: SocketAddr,
dns_name: String,
cert_der: Vec<u8>,
) -> TlsClientConnection<AsyncIoTokioAsStd<TokioTcpStream>> {
) -> TlsClientConnection<trust_dns_proto::iocompat::AsyncIoTokioAsStd<TokioTcpStream>> {
use rustls::{Certificate, ClientConfig};

let trust_chain = Certificate(cert_der);
Expand Down

0 comments on commit b50e7eb

Please sign in to comment.