Apply some minor fixes to rwc starter code

This commit is contained in:
trstruth 2020-11-08 23:36:16 -08:00
parent 9969bca4ea
commit a9362d86d3

View File

@ -3,10 +3,10 @@ use std::process;
fn main() {
let args: Vec<String> = env::args().collect();
if args.len() < 3 {
if args.len() < 2 {
println!("Too few arguments.");
process::exit(1);
}
let filename1 = &args[1];
let filename = &args[1];
// Your code here :)
}