Skip to content

Commit

Permalink
Removes references to page XX
Browse files Browse the repository at this point in the history
This just leaves the name of the subsection header in place.

Fixes issue rust-lang#492
  • Loading branch information
gypsydave5 committed Mar 7, 2017
1 parent 46ef223 commit 18fc48a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions second-edition/src/ch02-00-guessing-game-tutorial.md
Expand Up @@ -802,7 +802,7 @@ The call to `parse` could easily cause an error. If, for example, the string
contained `A👍%`, there would be no way to convert that to a number. Because it
might fail, the `parse` method returns a `Result` type, much like the
`read_line` method does as discussed earlier in “Handling Potential Failure
with the Result Type” on page XX. We’ll treat this `Result` the same way by
with the Result Type”. We’ll treat this `Result` the same way by
using the `expect` method again. If `parse` returns an `Err` `Result` variant
because it couldn’t create a number from the string, the `expect` call will
crash the game and print the message we give it. If `parse` can successfully
Expand Down Expand Up @@ -882,7 +882,7 @@ like the user can quit!

The user could always halt the program by using the keyboard shortcut `Ctrl-C`.
But there’s another way to escape this insatiable monster that we mentioned in
the `parse` discussion in “Comparing the Guesses” on page XX: if the user
the `parse` discussion in “Comparing the Guesses”: if the user
enters a non-number answer, the program will crash. The user can take advantage
of that in order to quit, as shown here:

Expand Down

0 comments on commit 18fc48a

Please sign in to comment.