diff --git a/html/index.html b/html/index.html index ae90851..39ba49c 100644 --- a/html/index.html +++ b/html/index.html @@ -8,6 +8,6 @@ - + diff --git a/src/game.rs b/src/game.rs index b660476..35998eb 100644 --- a/src/game.rs +++ b/src/game.rs @@ -66,8 +66,8 @@ fn read_file() -> Result { } } #[cfg(target_arch = "wasm32")] -fn read_file() -> Result { - let code = Ok(include_str!("../games/there-she-is.ayin").to_string()); +fn read_file() -> Result { + let code = include_str!("../games/there-she-is.ayin").to_string(); match ayin::parser::parse_file(code) { Err(err) => Err(format!("Error: {err:#?}")), Ok(program) => Ok(program),