We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents af0e3b8 + 9b6c629 commit cdc7d92Copy full SHA for cdc7d92
exercises/collections/vec1.rs
@@ -20,6 +20,6 @@ mod tests {
20
#[test]
21
fn test_array_and_vec_similarity() {
22
let (a, v) = array_and_vec();
23
- assert!(a.iter().zip(v.iter()).all(|(x, y)| x == y));
+ assert_eq!(a, v[..]);
24
}
25
0 commit comments