Rollup merge of #54194 - fintelia:patch-3, r=cramertj

Remove println!() statement from HashMap unit test
This commit is contained in:
kennytm 2018-09-14 14:50:14 +08:00 committed by GitHub
commit 8c999fadb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
}
}