From 04c0077ddff4f056285fc5e3e01a920c152b8e04 Mon Sep 17 00:00:00 2001 From: Paul Date: Sun, 6 Mar 2022 16:45:16 -0500 Subject: [PATCH] fix if let (#28) --- src/chapter_3/milestone_project_tic-tac-toe.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chapter_3/milestone_project_tic-tac-toe.md b/src/chapter_3/milestone_project_tic-tac-toe.md index c8a4be5..79b1502 100644 --- a/src/chapter_3/milestone_project_tic-tac-toe.md +++ b/src/chapter_3/milestone_project_tic-tac-toe.md @@ -229,7 +229,7 @@ impl Game { self.update_state(); - if let GameState::Active = self.state { + if GameState::Active == self.state { self.turn += 1; }