jordanbray / chess

A rust library to manage chess move generation
https://jordanbray.github.io/chess/
MIT License
245 stars 57 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.