diff --git a/src/client/conn/http2.rs b/src/client/conn/http2.rs index 6d967713d8..df78691901 100644 --- a/src/client/conn/http2.rs +++ b/src/client/conn/http2.rs @@ -63,7 +63,7 @@ pub struct Builder { /// Returns a handshake future over some IO. /// -/// This is a shortcut for `Builder::new().handshake(io)`. +/// This is a shortcut for `Builder::new(exec).handshake(io)`. /// See [`client::conn`](crate::client::conn) for more. pub async fn handshake( exec: E,