1 2 3 4 5 6
fn main() { let a: [i32; 5] = [1, 2, 3, 4, 5]; let first = a[0]; let second = a[1]; println!("{} {}", first, second); }