jordanbray / chess

A rust library to manage chess move generation
https://jordanbray.github.io/chess/
MIT License
231 stars 54 forks source link

Remove unnecessary conversion when creating square #48

Open vitorsvt opened 3 years ago

vitorsvt commented 3 years ago

Unless the usize conversion was intended, we can convert directly to u8.