From 1d96eec14743c95a35fe2b811d4bc19d8f8f3f39 Mon Sep 17 00:00:00 2001 From: Rhys Lloyd Date: Fri, 29 May 2026 13:11:16 -0700 Subject: [PATCH] style --- card_game/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/card_game/src/lib.rs b/card_game/src/lib.rs index 76eaf4c..666cf12 100644 --- a/card_game/src/lib.rs +++ b/card_game/src/lib.rs @@ -437,7 +437,7 @@ where type Stats = SessionStats; type Config = SessionConfig; type Instruction = SessionInstruction; - fn score(&self, stats: &Self::Stats, config: &Self::Config) -> i32 { + fn score(&self, stats: &Self::Stats, config: &Self::Config) -> Self::Score { self.state.score(&stats.inner, &config.inner) + stats.undos as i32 * config.undo_penalty } fn possible_instructions(