Skip to content

Commit e958362

Browse files
authored
Eliminate unused variable warning
1 parent 1ad0919 commit e958362

File tree

1 file changed

+1
-1
lines changed
  • src/libstd/collections/hash

1 file changed

+1
-1
lines changed

src/libstd/collections/hash/map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3532,7 +3532,7 @@ mod test_map {
35323532
m.insert(x, ());
35333533
}
35343534

3535-
for i in 0..1000 {
3535+
for _ in 0..1000 {
35363536
let x = rng.gen_range(-10, 10);
35373537
match m.entry(x) {
35383538
Vacant(_) => {}

0 commit comments

Comments
 (0)