refactor(net): elide lifetime
All checks were successful
Test / build (map[name:nightly]) (push) Successful in 3m50s
Test / build (map[name:stable]) (push) Successful in 4m33s
Release Please / Release-plz (push) Successful in 38s

This commit is contained in:
Paul Campbell 2024-12-01 20:58:05 +00:00
parent c67cc9ad92
commit eb761b0973

View file

@ -695,7 +695,7 @@ impl<'net> WhenRequest<'net, WhenBuildRequest> {
}
}
}
impl<'net> WhenRequest<'net, WhenBuildResponse> {
impl WhenRequest<'_, WhenBuildResponse> {
/// Specifies a header that will be on the response sent for the matching request.
#[must_use]
pub fn header(mut self, name: impl Into<String>, value: impl Into<String>) -> Self {