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