Skip to content

Commit 4451699

Browse files
committed
fix: remove redundant cloned() call in iterator
1 parent c9f487f commit 4451699

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lambda-http/src/response.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ impl LambdaResponse {
9797
let cookies = headers
9898
.get_all(SET_COOKIE)
9999
.iter()
100-
.cloned()
101100
.map(|v| v.to_str().ok().unwrap_or_default().to_string())
102101
.collect();
103102
headers.remove(SET_COOKIE);

0 commit comments

Comments
 (0)