From ffed88429b989ab5c62009a1031d3cfd48ea1313 Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Sun, 19 Apr 2020 07:28:52 +0100 Subject: [PATCH] fix example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {