Fix deprecation warning in deque.rs

This commit is contained in:
Adolfo Ochagavía 2014-07-21 16:04:24 +02:00 committed by Alex Crichton
parent 75a0062d88
commit 8836048c76

View file

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