-
Notifications
You must be signed in to change notification settings - Fork 13.3k
The Rust Programming Language - 4.6 Loops issue #31334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The sample will run if you click the "Run" button that appears when you mouse over the sample. There is a To be honest, that section is a little sparse anyway and could probably do with a forward reference to the Iterators chapter along with a little more explanation. |
There should probably be a "How to read this book" section that mentions the examples are clickable, and moreover automatically tested, so if you think it looks wrong, click Run to get a second opinion. It could also warn new Rustaceans about hidden lines in doctests (it's covered in the Documentation chapter, but that's too late) and tell them to watch out for it in the std docs too. |
Fixes rust-lang#31334 This is just a quicker fix for this issue; since I'm working on the next draft of the book, I don't want to put a huuuge amount of work into improving it here.
Fixes rust-lang#31334 This is just a quicker fix for this issue; since I'm working on the next draft of the book, I don't want to put a huuuge amount of work into improving it here.
The following code will not build or run. The issue is that 'lines' is never defined in this section of the book.
Rust is my first attempt to contribute to someone else's project so if I am not using these issues correctly please let me know and I will cease adding them as I go through the book.
The text was updated successfully, but these errors were encountered: