chore(docs): Fix ClientTlsConfig::domain_name docs (#449)
Co-authored-by: Eric Lin <[email protected]>
This commit is contained in:
@@ -41,8 +41,6 @@ impl ClientTlsConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Sets the domain name against which to verify the server's TLS certificate.
|
/// 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 {
|
pub fn domain_name(self, domain_name: impl Into<String>) -> Self {
|
||||||
ClientTlsConfig {
|
ClientTlsConfig {
|
||||||
domain: Some(domain_name.into()),
|
domain: Some(domain_name.into()),
|
||||||
|
|||||||
Reference in New Issue
Block a user