Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(http/prom): Fix broken doc links #3232

Merged
merged 1 commit into from
Sep 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading