Skip to content

Commit

Permalink
Eliminate unused variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
fintelia committed Sep 13, 2018
1 parent 1ad0919 commit e958362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/collections/hash/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(_) => {}
Expand Down

0 comments on commit e958362

Please sign in to comment.