cannot support more than 4 decks with range packing because 255 < 52 * 5

This commit is contained in:
2026-05-18 11:06:47 -07:00
parent 5f81f28160
commit 0dfd51e25b
-1
View File
@@ -124,7 +124,6 @@ impl Rank {
/// 2 bits for deck ID
/// 2 bits for suit ID
/// 4 bits for card Value
/// TODO: better encoding for slightly more decks
#[derive(Clone, Debug, Eq, Hash, PartialEq)]
pub struct Card(core::num::NonZeroU8);
impl Card {