fix input warning

This commit is contained in:
Max Bradbury 2020-04-24 18:20:05 +01:00
parent 543c4990af
commit e8effb3579
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ use std::{env, fs};
fn main() { fn main() {
let input_file = env::args() let input_file = env::args()
.nth(1) .nth(1)
.expect("No input path specified. Usage: `bitsy-validate infile outfile`"); .expect("No input path specified. Usage: `bitsy-validate filepath`");
Game::from(fs::read_to_string(input_file).unwrap()).unwrap(); Game::from(fs::read_to_string(input_file).unwrap()).unwrap();