feat!: apply C-CONV C-GETTER and C-CTOR to card and evaluator
authorMA Beaudet <ma@beaudet.xyz>
Tue, 9 Nov 2021 10:04:19 +0000 (11:04 +0100)
committerMA Beaudet <ma@beaudet.xyz>
Tue, 9 Nov 2021 10:04:19 +0000 (11:04 +0100)
commit53bcedda00fd7a3288c57bb7fe34010297149528
tree472107a95040164fe6b76e5ec7d22f94172313b9
parent27bc7743442fb5684f00f322d3e41e2e4db8e090
feat!: apply C-CONV C-GETTER and C-CTOR to card and evaluator

C-CONV recommends accessing inner values with `into_inner`
C-GETTER recommends using `first` instead of `get_first` or `get`
C-CTOR recommends using `with_` for builders, I might create a Dealer
struct that has access to Deck and Rules or simply remove associated
methods in Deck
src/card.rs
src/evaluator.rs