From 7e5a85468d845e4e07aaca0430786884bde3679e Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Wed, 24 Mar 2021 11:15:19 +0000 Subject: [PATCH] Update rustls.rs --- actix-tls/src/connect/ssl/rustls.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actix-tls/src/connect/ssl/rustls.rs b/actix-tls/src/connect/ssl/rustls.rs index 549e8cf8..b03d4b7f 100755 --- a/actix-tls/src/connect/ssl/rustls.rs +++ b/actix-tls/src/connect/ssl/rustls.rs @@ -100,7 +100,7 @@ where } pub enum RustlsConnectorServiceFuture { - // See issue https://github.com/briansmith/webpki/issues/54 + /// See issue https://github.com/briansmith/webpki/issues/54 InvalidDns, Future { connect: Connect, @@ -120,7 +120,7 @@ where Self::InvalidDns => Poll::Ready(Err( io::Error::new(io::ErrorKind::Other, "rustls currently only handles hostname-based connections. See https://github.com/briansmith/webpki/issues/54") )), - Self::Future { connect, connection} => { + Self::Future { connect, connection } => { let stream = ready!(Pin::new(connect).poll(cx))?; let connection = connection.take().unwrap(); trace!("SSL Handshake success: {:?}", connection.host());