You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line#38 used iter() method instead of into_iter as specified in the comment on line#37.
Modified code from:
println!("2 in array2: {}", array2.iter().any(|&x| x == 2));
to:
println!("2 in array2: {}", array2.into_iter().any(|x| x == 2));
0 commit comments