Skip to content

Commit

Permalink
Fix deprecation warning in deque.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
aochagavia authored and alexcrichton committed Jul 24, 2014
1 parent 75a0062 commit 8836048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcollections/deque.rs
Expand Up @@ -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;
})
}
Expand Down

0 comments on commit 8836048

Please sign in to comment.