Skip to content

Commit bfb5914

Browse files
fix(mpp): resolve clippy redundant_closure in test
Amp-Thread-ID: https://ampcode.com/threads/T-019d51ba-2e7d-739a-a46c-21bc7827fd26 Co-authored-by: Amp <amp@ampcode.com>
1 parent 4d8d134 commit bfb5914

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/common/src/provider/mpp/transport.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@ mod tests {
885885
let extract = |headers: Vec<&str>| -> Vec<(Option<u64>, Option<String>)> {
886886
let challenges: Vec<_> =
887887
parse_www_authenticate_all(headers).into_iter().filter_map(|r| r.ok()).collect();
888-
challenges.iter().map(|c| extract_challenge_chain_and_currency(c)).collect()
888+
challenges.iter().map(extract_challenge_chain_and_currency).collect()
889889
};
890890

891891
let b64 = |v: serde_json::Value| -> String {

0 commit comments

Comments
 (0)