rust/src/test/run-pass/argv.rs
2012-07-01 19:19:32 -07:00

6 lines
190 B
Rust

fn main(args: ~[str]) {
let vs: ~[str] = ~["hi", "there", "this", "is", "a", "vec"];
let vvs: ~[~[str]] = ~[args, vs];
for vvs.each |vs| { for vs.each |s| { log(debug, s); } }
}