use exhaustive match

This commit is contained in:
2026-05-29 17:08:57 -07:00
parent 0e2284e913
commit f2f9085aaf
+1 -1
View File
@@ -776,7 +776,7 @@ impl Game for Klondike {
match src { match src {
KlondikePileStack::Stock => stats.increment_move_to_tableau(), KlondikePileStack::Stock => stats.increment_move_to_tableau(),
KlondikePileStack::Foundation(_) => stats.increment_move_from_foundation(), KlondikePileStack::Foundation(_) => stats.increment_move_from_foundation(),
_ => {} KlondikePileStack::Tableau(_) => {}
} }
let (cards, did_flip_up) = self.state.take_stack_flip_up(src); let (cards, did_flip_up) = self.state.take_stack_flip_up(src);
if did_flip_up { if did_flip_up {