mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
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:
@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user