From 4cd41fbdee7c739f42cc3ae26857f7ba5de5c79e Mon Sep 17 00:00:00 2001 From: Rhys Lloyd Date: Tue, 7 Jul 2026 18:52:01 -0700 Subject: [PATCH] minimize diff --- 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 38e38d5..d085580 100644 --- a/card_game/src/lib.rs +++ b/card_game/src/lib.rs @@ -11,11 +11,11 @@ pub trait Game: Clone { type Config: Clone + core::fmt::Debug; type Instruction: Clone + core::fmt::Debug; fn score(&self, stats: &Self::Stats, config: &Self::Config) -> Self::Score; - fn is_instruction_valid(&self, config: &Self::Config, instruction: &Self::Instruction) -> bool; fn possible_instructions( &self, config: &Self::Config, ) -> impl Iterator + use; + fn is_instruction_valid(&self, config: &Self::Config, instruction: &Self::Instruction) -> bool; fn is_win(&self) -> bool; fn stage_instruction<'a>( &'a mut self,