diff --git a/linkerd/http/prom/src/count_reqs.rs b/linkerd/http/prom/src/count_reqs.rs index ce0ea296d7..49e7dbde6b 100644 --- a/linkerd/http/prom/src/count_reqs.rs +++ b/linkerd/http/prom/src/count_reqs.rs @@ -44,10 +44,10 @@ impl NewCountRequests { Self { extract, inner } } - /// Returns a [`Layer`] that counts requests. + /// Returns a [`Layer`][svc::layer::Layer] that counts requests. /// - /// This uses an `X`-typed [`ExtractParam`] implementation to extract [`RequestCount`] from a - /// `T`-typed target. + /// This uses an `X`-typed [`ExtractParam`][svc::ExtractParam] implementation to extract + /// [`RequestCount`] from a `T`-typed target. pub fn layer_via(extract: X) -> impl svc::layer::Layer + Clone { svc::layer::mk(move |inner| Self::new(extract.clone(), inner)) }