fn useless_iterator() {
    let v1 = vec![1, 2, 3];
    let v1_iter = v1.iter();
    println!("v1_iter: {:?}", v1_iter);
}
// In Rust, iterators are lazy, meaning they have no effect until you call methods
// that consume the iterator to use it up. The code below doesn't do anything
// anything useful.
In Rust, iterators are lazy, meaning they have no effect until you call methods
that consume the iterator to use it up. The code below doesn't do anything
anything useful.
In Rust iterators are lazy meaning they have no effect until you call methods that consume the iterator to use it up . The code below doesn ' t do anything anything useful .
fn useless_iterator() {
    let v1 = vec![1, 2, 3];
    let v1_iter = v1.iter();
    println!("v1_iter: {:?}", v1_iter);
}
fn useless_iterator ( ) { let v1 = vec ! [ 1 2 3 ] ; let v1_iter = v1 . iter ( ) ; println ! ( " " v1_iter ) ; }
In Rust, iterators are lazy, meaning they have no effect until you call methods
that consume the iterator to use it up.
In Rust iterators are lazy meaning they have no effect until you call methods that consume the iterator to use it up .