diff --git a/src/client.rs b/src/client.rs index 70c157c..1741fa2 100644 --- a/src/client.rs +++ b/src/client.rs @@ -194,7 +194,7 @@ pub fn uri_mode(uri: &Uri) -> Result { /// as configuration is equal to calling `client()` function. /// /// Use this function if you need a nonblocking handshake support or if you -/// want to use a custom stream like `mio::tcp::TcpStream` or `openssl::ssl::SslStream`. +/// want to use a custom stream like `mio::net::TcpStream` or `openssl::ssl::SslStream`. /// Any stream supporting `Read + Write` will do. pub fn client_with_config( request: Req, @@ -211,7 +211,7 @@ where /// Do the client handshake over the given stream. /// /// Use this function if you need a nonblocking handshake support or if you -/// want to use a custom stream like `mio::tcp::TcpStream` or `openssl::ssl::SslStream`. +/// want to use a custom stream like `mio::net::TcpStream` or `openssl::ssl::SslStream`. /// Any stream supporting `Read + Write` will do. pub fn client( request: Req,