fn main() { let v = vec![3,1,4,1,5,9,2,6]; v.iter().for_each(|i|{ println!("{}",i); });}
Standard input is empty
3 1 4 1 5 9 2 6
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!