mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 20:34:52 -06:00
Merge pull request #233 from spastorino/fix_guess_typo
Fix guses -> guess typo
This commit is contained in:
@@ -932,7 +932,7 @@ fn main() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
By adding the `break` line after `You win!`, we’ll exit the loop when we guses
|
By adding the `break` line after `You win!`, we’ll exit the loop when we guess
|
||||||
the secret number correctly. Exiting the loop also means exiting the program,
|
the secret number correctly. Exiting the loop also means exiting the program,
|
||||||
since the loop is the last thing in `main()`.
|
since the loop is the last thing in `main()`.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user