Merge pull request #1 from trstruth/trstruth/rwc-starter-code
Apply some minor fixes to rwc starter code
This commit is contained in:
commit
120a427bdb
@ -3,10 +3,10 @@ use std::process;
|
|||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let args: Vec<String> = env::args().collect();
|
let args: Vec<String> = env::args().collect();
|
||||||
if args.len() < 3 {
|
if args.len() < 2 {
|
||||||
println!("Too few arguments.");
|
println!("Too few arguments.");
|
||||||
process::exit(1);
|
process::exit(1);
|
||||||
}
|
}
|
||||||
let filename1 = &args[1];
|
let filename = &args[1];
|
||||||
// Your code here :)
|
// Your code here :)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user