feat!: add bounded slices 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 19:49:07 +0000 (20:49 +0100)
commit57cdce9d545b953a3af0adaefe8d0b0334348f38
tree5604dc96c779b5edab6a7b002630c90871a80c81
parent0e03501c0cf0ac63b7cae3742df90d38510b39bf
feat!: add bounded slices 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