Skip to content

Commit

Permalink
#10 iter() in bench
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed May 12, 2023
1 parent eaf9dbb commit e4b101c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benches/vs_vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ macro_rules! eval {
$s.push(i);
}
$s.clone().clear();
for i in $s.clone().into_iter() {
assert!(i < cap);
for i in $s.clone().iter() {
assert!(*i < cap);
}
for _ in 0..cap {
$s.pop();
Expand Down

0 comments on commit e4b101c

Please sign in to comment.