diff --git a/tonic/src/transport/channel/tls.rs b/tonic/src/transport/channel/tls.rs index 33d8f83..37888b8 100644 --- a/tonic/src/transport/channel/tls.rs +++ b/tonic/src/transport/channel/tls.rs @@ -41,8 +41,6 @@ impl ClientTlsConfig { } /// Sets the domain name against which to verify the server's TLS certificate. - /// - /// This has no effect if `rustls_client_config` is used to configure Rustls. pub fn domain_name(self, domain_name: impl Into) -> Self { ClientTlsConfig { domain: Some(domain_name.into()),