chore(docs): Fix ClientTlsConfig::domain_name docs (#449)

Co-authored-by: Eric Lin <ericlinxl@fb.com>
This commit is contained in:
linxiulei
2020-09-07 16:56:50 +01:00
committed by GitHub
parent 92a7cc86a6
commit c7fd9d4586
-2
View File
@@ -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<String>) -> Self {
ClientTlsConfig {
domain: Some(domain_name.into()),