fork download
  1. fn main() {
  2. let mut xs = Vec::new();
  3. xs.push("hello");
  4. xs.push("world");
  5. for x in xs {
  6. println!("{}", x);
  7. }
  8. }
Success #stdin #stdout 0s 10968KB
stdin
Standard input is empty
stdout
hello
world