Skip to content

Commit

Permalink
docs(http/prom): Fix broken doc links (#3232)
Browse files Browse the repository at this point in the history
<https://github.com/linkerd/linkerd2-proxy/pull/3228/files>

this fixes some links, because i observed github actions warning about
these in a different pr. pardon me! 😅

Signed-off-by: katelyn martin <[email protected]>
  • Loading branch information
cratelyn authored Sep 25, 2024
1 parent 911d443 commit a5e43f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions linkerd/http/prom/src/count_reqs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ impl<X: Clone, N> NewCountRequests<X, N> {
Self { extract, inner }
}

/// Returns a [`Layer`] that counts requests.
/// Returns a [`Layer<S>`][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<P, T>`][svc::ExtractParam] implementation to extract
/// [`RequestCount`] from a `T`-typed target.
pub fn layer_via(extract: X) -> impl svc::layer::Layer<N, Service = Self> + Clone {
svc::layer::mk(move |inner| Self::new(extract.clone(), inner))
}
Expand Down

0 comments on commit a5e43f4

Please sign in to comment.