From e6113b6e91517e8bc29067966de8205b5c77055a Mon Sep 17 00:00:00 2001 From: Rhys Lloyd Date: Mon, 18 May 2026 13:57:47 -0700 Subject: [PATCH] tweak doc --- card_game/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/card_game/src/lib.rs b/card_game/src/lib.rs index b612980..20d92eb 100644 --- a/card_game/src/lib.rs +++ b/card_game/src/lib.rs @@ -135,7 +135,8 @@ impl Rank { } } } -/// An identifier which specifies the deck id, suit, and card value. + +/// A card which specifies the deck id, suit, and card value. /// 2 bits for deck ID /// 2 bits for suit ID /// 4 bits for card Value @@ -224,6 +225,7 @@ impl IntoIterator for Stack { } } +/// A pile is a stack of face down cards and a stack of face up cards. #[derive(Clone, Debug, Default, Eq, Hash, PartialEq)] pub struct Pile { face_down: Stack,