Eliminate unused variable warning

This commit is contained in:
Jonathan Behrens 2018-09-13 16:48:09 -04:00 committed by GitHub
parent 1ad0919fa9
commit e9583628b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3532,7 +3532,7 @@ 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(_) => {}