Hands-on Rust: B6 - Rust Cheat Sheat (page 1155)

The description for a while loop is inverted. It currently reads “run the enclosed code until x evaluates to true” it should either be “while x evaluates to true” or “until x evaluates to false”.

Thank you! I’ve added this to the errata list. The book is going through production right now, so I’m not 100% sure when it’ll be included - but it’s on the list, so it should make the final release.

Great! I also think the inclusive/exclusive ranges are swapped just below that. It says the one that includes the 4 is exclusive, I think that should be inclusive, shouldn’t it?

Thanks again. I’ll give the cheat-sheet another once-over when I can. :slight_smile: