diff --git a/src/client.rs b/src/client.rs index d2cb533..f351cf2 100644 --- a/src/client.rs +++ b/src/client.rs @@ -129,8 +129,8 @@ use crate::{ /// custom stream, call `client` instead. /// /// This function uses `native_tls` or `rustls` to do TLS depending on the feature flags enabled. If -/// you want to use other TLS libraries, use `client` instead. There is no need to enable the "tls" -/// feature if you don't call `connect` since it's the only function that uses native_tls or rustls. +/// you want to use other TLS libraries, use `client` instead. There is no need to enable any of +/// the `*-tls` features if you don't call `connect` since it's the only function that uses them. pub fn connect_with_config( request: Req, config: Option, @@ -197,8 +197,8 @@ pub fn connect_with_config( /// custom stream, call `client` instead. /// /// This function uses `native_tls` or `rustls` to do TLS depending on the feature flags enabled. If -/// you want to use other TLS libraries, use `client` instead. There is no need to enable the "tls" -/// feature if you don't call `connect` since it's the only function that uses native_tls or rustls. +/// you want to use other TLS libraries, use `client` instead. There is no need to enable any of +/// the `*-tls` features if you don't call `connect` since it's the only function that uses them. pub fn connect(request: Req) -> Result<(WebSocket, Response)> { connect_with_config(request, None, 3) }