xxxxxxxxxx
use std::env;
fn main(){
for argument in env.args{
println!("{}",argument);
}
}
// Note that the first argument is always going to be the name of the executable
rust args
xxxxxxxxxx
use std::env;
// Prints each argument on a separate line
for argument in env::args() {
println!("{argument}");
}