Skip to content

Commit 3d95d82

Browse files
committed
gateway: fix named ellided lifetime warning
Appears on nightly. Signed-off-by: Leo Valais <[email protected]>
1 parent 99e82e7 commit 3d95d82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gateway/actix_proxy/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ impl InnerProxyService {
301301
fn iter_forwarded_req_headers<'a>(
302302
&'a self,
303303
headers: &'a HeaderMap,
304-
) -> impl Iterator<Item = (&HeaderName, &HeaderValue)> + 'a {
304+
) -> impl Iterator<Item = (&'a HeaderName, &'a HeaderValue)> + 'a {
305305
if let Some(forwarded_headers) = &self.proxy.forwarded_headers {
306306
Either::Left(forwarded_headers.iter().filter_map(|header_name| {
307307
headers.get(header_name).map(|value| (header_name, value))

0 commit comments

Comments
 (0)