mirror of https://github.com/rust-lang/rust.git
Eliminate unused variable warning
This commit is contained in:
parent
1ad0919fa9
commit
e9583628b2
|
@ -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(_) => {}
|
||||
|
|
Loading…
Reference in New Issue