Is there any difference in the following approaches to iterate through a vector? Both methods successfully iterate.
let vo = vec![30, 50, 70, 80];
Method 1
for uu in vo.iter() {
println!("uu {}", uu);
}
println!("vo 1 {:?}", vo);
Method 2
for uu in &vo {
println!("{}", uu);
}
println!("vo 2 {:?}", vo);