about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-05-10 16:44:24 -0400
committerSteve Klabnik <steve@steveklabnik.com>2015-05-10 16:44:24 -0400
commitc70458ba5dc19dde84d5cf54265e5d100abf5784 (patch)
treefd8c0fefebe5f85a5d400487383c4c9567353268
parent7ae332c39f3aec88ba6656767cafb174a9180b81 (diff)
parent2cc4d822dfada7395b67d83368a5bee44b50a5e2 (diff)
Rollup merge of #25263 - fhinkel:master, r=steveklabnik
-rw-r--r--src/doc/trpl/guessing-game.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/trpl/guessing-game.md b/src/doc/trpl/guessing-game.md
index 50767b603c4..12dd087f20c 100644
--- a/src/doc/trpl/guessing-game.md
+++ b/src/doc/trpl/guessing-game.md
@@ -713,7 +713,7 @@ variety of numbers, we need to give Rust a hint as to the exact type of number
 we want. Hence, `let guess: u32`. The colon (`:`) after `guess` tells Rust
 we’re going to annotate its type. `u32` is an unsigned, thirty-two bit
 integer. Rust has [a number of built-in number types][number], but we’ve
-chosen `u32`. It’s a good default choice for a small positive numer.
+chosen `u32`. It’s a good default choice for a small positive number.
 
 [parse]: ../std/primitive.str.html#method.parse
 [number]: primitive-types.html#numeric-types
@@ -922,7 +922,7 @@ failure. Each contains more information: the successful parsed integer, or an
 error type. In this case, we `match` on `Ok(num)`, which sets the inner value
 of the `Ok` to the name `num`, and then we just 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 `_` intead of a name. This ignores the error, and `continue` causes us
+use `_` instead of a name. This ignores the error, and `continue` causes us
 to go to the next iteration of the `loop`.
 
 Now we should be good! Let’s try: