jordanbray/chess

Typo in doc for new_legal(...)

Closed this issue · 4 comments

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);
....

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.

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

I fixed it. Thanks.