Fix deprecation warning in deque.rs
This commit is contained in:
parent
75a0062d88
commit
8836048c76
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ pub mod bench {
|
|||
// measure
|
||||
let mut i = 0;
|
||||
b.iter(|| {
|
||||
map.find(keys.get(i));
|
||||
map.find(&keys[i]);
|
||||
i = (i + 1) % n;
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue