From 2d3bcc4f50ae77218ba39bdb541f15ce1775cb1e Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Fri, 25 Sep 2020 16:38:15 +0100 Subject: [PATCH] todo --- src/game.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/game.rs b/src/game.rs index 7d9c157..5a39b5f 100644 --- a/src/game.rs +++ b/src/game.rs @@ -101,6 +101,9 @@ pub struct GameHasNoAvatar; // todo no tiles? no rooms? no palettes? turn this into an enum? impl Game { + // todo return (Result, Vec>)? + // would be nice to *try* to parse a game, and catalogue any and all errors without crashing, + // for display purposes etc. pub fn from(string: String) -> Result { let line_endings_crlf = string.contains("\r\n"); let mut string = string;