Skip to content

Commit 8c999fa

Browse files
authored
Rollup merge of #54194 - fintelia:patch-3, r=cramertj
Remove println!() statement from HashMap unit test
2 parents d51c364 + e958362 commit 8c999fa

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

src/libstd/collections/hash/map.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3532,12 +3532,11 @@ 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(_) => {}
35393539
Occupied(e) => {
3540-
println!("{}: remove {}", i, x);
35413540
e.remove();
35423541
}
35433542
}

0 commit comments

Comments
 (0)