jweinst1
4/2/2017 - 11:26 PM

basic printing and looping with vector

basic printing and looping with vector

struct IntStack {
    
}


fn main() {
   let f = vec![1, 2, 3];
   println!("The len is {}",f.len());
   for i in f {
       println!("{}", i);
   }
}
/*The len is 3
1
2
3*/