From 40176459996eff8cba4d8ec17e3a06429c8b254e Mon Sep 17 00:00:00 2001 From: Viljami Peltola Date: Sat, 2 Oct 2021 20:41:03 +0300 Subject: [PATCH] Change menu.rs to gui.rs to match the example code in Chapter 11. --- book/src/chapter_11.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/src/chapter_11.md b/book/src/chapter_11.md index b613761c..b62f21af 100644 --- a/book/src/chapter_11.md +++ b/book/src/chapter_11.md @@ -97,7 +97,7 @@ RunState::MainMenu{ .. } => { We're basically updating the state with the new menu selection, and if something has been selected we change the game state. For `Quit`, we simply terminate the process. For now, we'll make loading/starting a game do the same thing: go into the `PreRun` state to setup the game. -The last thing to do is to write the menu itself. In `menu.rs`: +The last thing to do is to write the menu itself. In `gui.rs`: ```rust pub fn main_menu(gs : &mut State, ctx : &mut Rltk) -> MainMenuResult {