chore: address Rust 1.75 clippy lints (#3231)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Chethan Rao
2024-01-05 16:22:31 +05:30
committed by GitHub
parent f30ba89884
commit c8279b110e
25 changed files with 141 additions and 142 deletions

View File

@ -138,8 +138,7 @@ impl RequestBuilder {
}
pub fn headers(mut self, headers: Vec<(String, Maskable<String>)>) -> Self {
let mut h = headers.into_iter().map(|(h, v)| (h, v));
self.headers.extend(&mut h);
self.headers.extend(headers);
self
}