Skip to content

Commit

Permalink
Rollup merge of rust-lang#54194 - fintelia:patch-3, r=cramertj
Browse files Browse the repository at this point in the history
Remove println!() statement from HashMap unit test
  • Loading branch information
kennytm committed Sep 14, 2018
2 parents d51c364 + e958362 commit 8c999fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libstd/collections/hash/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3532,12 +3532,11 @@ mod test_map {
m.insert(x, ());
}

for i in 0..1000 {
for _ in 0..1000 {
let x = rng.gen_range(-10, 10);
match m.entry(x) {
Vacant(_) => {}
Occupied(e) => {
println!("{}: remove {}", i, x);
e.remove();
}
}
Expand Down

0 comments on commit 8c999fa

Please sign in to comment.