diff --git a/README.md b/README.md index 6066df7..795c16a 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ fn main() { let output_file = env::args().nth(2) .expect("No output path specified. Usage: `smiley infile outfile`"); - let mut game = Game::from(fs::read_to_string(input_file).unwrap()); + let mut game = Game::from(fs::read_to_string(input_file).unwrap()).unwrap(); game.avatar.animation_frames = vec![ Image {