feat!: add array ref as args for eval_5hand and eval_7hand
authorMA Beaudet <ma@beaudet.xyz>
Sun, 7 Nov 2021 19:49:07 +0000 (20:49 +0100)
committerMA Beaudet <ma@beaudet.xyz>
Sun, 7 Nov 2021 22:57:22 +0000 (23:57 +0100)
commitc6554c5cec38d67a4b186896df65ffd16f99b0f0
tree5604dc96c779b5edab6a7b002630c90871a80c81
parent0e03501c0cf0ac63b7cae3742df90d38510b39bf
feat!: add array ref as args for eval_5hand and eval_7hand

eval_5hand now transmutes (unsafe rust) the `&[Card; 5]`. It "should" not
be unsafe as Card has the same repr as u32.
Looking for suggestions on how to convert slice newtype to inner.
src/lib.rs