Update Examples

Glen Whitney 2024-08-27 02:39:25 +00:00
parent 8e5ef3d743
commit c5655f383a

@ -1187,7 +1187,7 @@ pub trait Iterator
fn main
let vec1 = vec![1, 2, 3]
vec2 = vec![4, 5, 6]
vec2 = vec![4, 5, 6]
//! Note use of fragment of loop construct to just get the corresponding iterator
println! "2 in vec1: {}", &in vec1.any &x => x == 2