about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranziska Hinkelmann <franziska.hinkelmann@gmail.com>2015-05-10 08:02:06 +0200
committerFranziska Hinkelmann <franziska.hinkelmann@gmail.com>2015-05-10 08:02:06 +0200
commit2cc4d822dfada7395b67d83368a5bee44b50a5e2 (patch)
tree7d2f2a0ff0e0ceba65ed47871bc2647de10cb69e
parentdc630d01e3eae8ba05db98383119bc2ddbbb01c1 (diff)
downloadrust-2cc4d822dfada7395b67d83368a5bee44b50a5e2.tar.gz
rust-2cc4d822dfada7395b67d83368a5bee44b50a5e2.zip
Fix small typos in documentation
-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 57479a21e47..fc3927380fa 100644
--- a/src/doc/trpl/guessing-game.md
+++ b/src/doc/trpl/guessing-game.md
@@ -711,7 +711,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
@@ -920,7 +920,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: