Play with vectors

This commit is contained in:
Eryn Wells 2016-02-23 23:07:21 -08:00
parent 836f04905a
commit 5bd3729c97

View file

@ -1,3 +1,8 @@
fn main() { fn main() {
println!("Hello, world!"); println!("Hello, world!");
let v = vec![1, 2, 3];
for i in v {
println!("{}", i);
}
} }