docs(transport-smtp): fix docs for domain field

The `domain` field does not get “send to the server”,
but is used to check the authenticity of the server.
This commit is contained in:
gralpli
2019-11-29 15:39:22 +01:00
parent 83a0185a83
commit 0e05e0e792

View File

@@ -12,7 +12,7 @@ use std::time::Duration;
pub struct ClientTlsParameters {
/// A connector from `native-tls`
pub connector: TlsConnector,
/// The domain to send during the TLS handshake
/// The domain name which is expected in the TLS certificate from the server
pub domain: String,
}