diff --git a/linkerd/app/test/src/http_util.rs b/linkerd/app/test/src/http_util.rs index 935907b895..02c6895540 100644 --- a/linkerd/app/test/src/http_util.rs +++ b/linkerd/app/test/src/http_util.rs @@ -11,8 +11,10 @@ type BoxServer = svc::BoxTcp; /// Connects a client and server, running a proxy between them. /// -/// Returns a tuple containing (1) a [`SendRequest`] that can be used to transmit a request and -/// await a response, and (2) a [`JoinSet`] running background tasks. +/// Returns a tuple containing (1) a [`SendRequest`][send] that can be used to transmit a +/// request and await a response, and (2) a [`JoinSet`] running background tasks. +/// +/// [send]: hyper::client::conn::http1::SendRequest pub async fn connect_and_accept_http1( client_settings: &mut hyper::client::conn::http1::Builder, server: BoxServer, @@ -56,8 +58,10 @@ pub async fn connect_and_accept_http1( /// Connects a client and server, running a proxy between them. /// -/// Returns a tuple containing (1) a [`SendRequest`] that can be used to transmit a request and -/// await a response, and (2) a [`JoinSet`] running background tasks. +/// Returns a tuple containing (1) a [`SendRequest`][send] that can be used to transmit a +/// request and await a response, and (2) a [`JoinSet`] running background tasks. +/// +/// [send]: hyper::client::conn::http2::SendRequest pub async fn connect_and_accept_http2( client_settings: &mut hyper::client::conn::http2::Builder, server: BoxServer,