jordanbray / chess

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

Typo in doc for new_legal(...) #23

Closed jcriddle4 closed 4 years ago

jcriddle4 commented 4 years ago

In the documentation I think this is supposed to be?

let mut iterable = MoveGen::new_legal(board, true); ... let mut iterable = MoveGen::new_legal(&board); ....

jordanbray commented 4 years ago

I'm having a hard time finding where this is. The old version used to take a boolean, but not anymore. Can you link me to the page where you found that? I'm hoping it turns out to be an old docs.rs link.

jcriddle4 commented 4 years ago

https://github.com/jordanbray/chess

jordanbray commented 4 years ago

Ahh, lol. I didn't check the readme.

jordanbray commented 4 years ago

I fixed it. Thanks.