Turns out the .skip()
method can be used, eg:
use std::env;
fn main() {
for arg in env::args().skip(1) {
println!("Argument: {}", arg);
}
}
Turns out the .skip()
method can be used, eg:
use std::env;
fn main() {
for arg in env::args().skip(1) {
println!("Argument: {}", arg);
}
}