chore: address Rust 1.88.0 clippy lints (#8498)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Chethan Rao
2025-07-02 12:13:07 +05:30
committed by GitHub
parent ad29631c53
commit 20b52f11c3
150 changed files with 464 additions and 647 deletions

View File

@ -1068,7 +1068,7 @@ mod tests {
"#;
let mut keys_and_values = HashMap::new();
for i in 0..10 {
keys_and_values.insert(format!("key{}", i), i);
keys_and_values.insert(format!("key{i}"), i);
}
let key = keys_and_values.keys().cloned().collect::<Vec<_>>();
@ -1108,7 +1108,7 @@ mod tests {
"#;
let mut keys_and_values = HashMap::new();
for i in 0..10 {
keys_and_values.insert(format!("key{}", i), i);
keys_and_values.insert(format!("key{i}"), i);
}
let key = keys_and_values.keys().cloned().collect::<Vec<_>>();