Skip to content

Commit

Permalink
Fix typos in function docs (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpick authored Jul 5, 2024
1 parent 3edac9b commit bf2e86f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tower-http/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ pub trait ServiceBuilderExt<L>: crate::sealed::Sealed<L> + Sized {
where
I: IntoIterator<Item = HeaderName>;

/// Mark headers as [sensitive] on both requests.
/// Mark headers as [sensitive] on requests.
///
/// See [`tower_http::sensitive_headers`] for more details.
///
Expand All @@ -181,7 +181,7 @@ pub trait ServiceBuilderExt<L>: crate::sealed::Sealed<L> + Sized {
headers: std::sync::Arc<[HeaderName]>,
) -> ServiceBuilder<Stack<crate::sensitive_headers::SetSensitiveRequestHeadersLayer, L>>;

/// Mark headers as [sensitive] on both responses.
/// Mark headers as [sensitive] on responses.
///
/// See [`tower_http::sensitive_headers`] for more details.
///
Expand Down

0 comments on commit bf2e86f

Please sign in to comment.