let vec = vec![1, 2, 3, 4, 5]; for (key, value) in vec.iter().enumerate() { println!("{}: {}", key, value); }