summaryrefslogtreecommitdiff
path: root/ext/http/fly_accept_encoding.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-10-14 23:25:47 -0400
committerGitHub <noreply@github.com>2024-10-14 23:25:47 -0400
commit7f3747f2ef7cc9e1d45aa33360afdfe62cd20c56 (patch)
treea5d6237b2c3fc1ec5ee664a8bbde4d00f7890ca8 /ext/http/fly_accept_encoding.rs
parent4c9eee3ebe383f0aa8f082dd6831f609cd5d5abb (diff)
perf(http): avoid clone getting request method and url (#26250)
Diffstat (limited to 'ext/http/fly_accept_encoding.rs')
-rw-r--r--ext/http/fly_accept_encoding.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/http/fly_accept_encoding.rs b/ext/http/fly_accept_encoding.rs
index 94e336876..4d6fd2231 100644
--- a/ext/http/fly_accept_encoding.rs
+++ b/ext/http/fly_accept_encoding.rs
@@ -119,7 +119,7 @@ fn encodings_iter_inner<'s>(
};
Some(Ok((encoding, qval)))
})
- .map(|r| r?) // flatten Result<Result<...
+ .flatten()
}
#[cfg(test)]