fix input warning
This commit is contained in:
parent
543c4990af
commit
e8effb3579
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue