unnecessary if let (#25)

This commit is contained in:
powell granger 2022-03-07 05:40:56 +08:00 committed by GitHub
parent 9b36e8f1d8
commit 344f303789
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ impl Game {
self.update_state();
if let GameState::Active = self.state {
if GameState::Active == self.state {
self.turn += 1;
}