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

Co-authored-by: Eric Lin <[email protected]>
This commit is contained in:
linxiulei
2020-09-07 10:56:50 -05:00
committed by GitHub
co-authored by Eric Lin
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()),