This commit is contained in:
Martin Algesten
2021-12-20 10:18:56 +01:00
parent 98ac6313e5
commit 87cf59d399

View File

@@ -536,8 +536,8 @@ impl AgentBuilder {
} }
/// Configure TLS options for a backend other than rustls. The parameter can be a /// Configure TLS options for a backend other than rustls. The parameter can be a
/// any type which implements the [HttpsConnector] trait. If you enable the native-tls /// any type which implements the [`TlsConnector`] trait. If you enable the native-tls
/// feature, we provide `impl HttpsConnector for native_tls::TlsConnector` so you can pass /// feature, we provide `impl TlsConnector for native_tls::TlsConnector` so you can pass
/// [`Arc<native_tls::TlsConnector>`](https://docs.rs/native-tls/0.2.7/native_tls/struct.TlsConnector.html). /// [`Arc<native_tls::TlsConnector>`](https://docs.rs/native-tls/0.2.7/native_tls/struct.TlsConnector.html).
/// ///
/// This overrides any previous call to tls_config or tls_connector. /// This overrides any previous call to tls_config or tls_connector.