-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Guessing game example does not give a warning #37307
Comments
After playing with it a bit I got the warning with this:
So maybe the wording could be a bit more explanatory? |
The book pretty explicitly states (emphasis mine):
|
Indeed, the wording is explicit, but it could be more explanatory in case my confusion was caused by my non-native English skills. Minor wording changes like these are quite affected by personal style, so I'd understand if you don't find this useful. |
…illaumeGomez TRPL: guessing game: minor clarification The original text is correct and exact, but might confuse a non-English speaker (at least I was confused), so I made it a bit more plain (see rust-lang#37307). I know minor wording changes like these are affected by personal style, so I'd understand if you don't find this useful. r? @steveklabnik
I guess it can be closed now. Don't hesitate to tell me if I'm wrong. |
The Rust book on Guessing Game - Processing a Guess says that after compiling the example we'll get a warning. However, I didn't get one:
According to the book I expected:
I installed rust via https://rustup.rs/ and I got
I am on
The text was updated successfully, but these errors were encountered: