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());