mirror of https://github.com/rust-lang/rustlings
fix(vec1): Have test compare every element in a and v
The previous test would stop comparing elements in array a and vec v upon reaching the last element of either. This resulted in the test passing even if v did not contain all the elements in a. This change to the test fixes that bug and should only pass if all the elements in a and v are present and equal.pull/592/head
parent
5aa467bef2
commit
9b6c629397
Loading…
Reference in New Issue