From c7fd9d4586d7e645ff88be3a76769a435385516c Mon Sep 17 00:00:00 2001 From: linxiulei Date: Mon, 7 Sep 2020 16:56:50 +0100 Subject: [PATCH] chore(docs): Fix ClientTlsConfig::domain_name docs (#449) Co-authored-by: Eric Lin --- tonic/src/transport/channel/tls.rs | 2 -- 1 file changed, 2 deletions(-) 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()),