Skip to content

Commit

Permalink
Rollup merge of rust-lang#32288 - tclfs:patch-2, r=apasel422
Browse files Browse the repository at this point in the history
docs: One typo

I think it's a mistake of spelling.
  • Loading branch information
eddyb committed Mar 19, 2016
2 parents e28a1b6 + 01d7609 commit 33c28b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/book/guessing-game.md
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ returned by `parse()`, this is an `enum` like `Ordering`, but in this case,
each variant has some data associated with it: `Ok` is a success, and `Err` is a
failure. Each contains more information: the successfully parsed integer, or an
error type. In this case, we `match` on `Ok(num)`, which sets the name `num` to
the unwrapped `Ok` value (ythe integer), and then we return it on the
the unwrapped `Ok` value (the integer), and then we return it on the
right-hand side. In the `Err` case, we don’t care what kind of error it is, so
we just use the catch all `_` instead of a name. This catches everything that
isn't `Ok`, and `continue` lets us move to the next iteration of the loop; in
Expand Down

0 comments on commit 33c28b4

Please sign in to comment.