Array iterate on elements
examples/arrays/numbers-iterate/src/main.rs
fn main() { let numbers: [i32; 3] = [10, 11, 12]; for num in numbers { println!("{}", num); } }
10 11 12
fn main() { let numbers: [i32; 3] = [10, 11, 12]; for num in numbers { println!("{}", num); } }
10 11 12