diff options
Diffstat (limited to 'webapp/src/card.rs')
| -rw-r--r-- | webapp/src/card.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/src/card.rs b/webapp/src/card.rs index 071f2d1..4fda0a7 100644 --- a/webapp/src/card.rs +++ b/webapp/src/card.rs @@ -73,7 +73,7 @@ impl fmt::Debug for Rank { } #[derive(PartialEq, Eq, Clone, Copy)] -pub struct Card(Suit, Rank); +pub struct Card(pub Suit, pub Rank); impl fmt::Display for Card { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::result::Result<(), std::fmt::Error> { |
