about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2014-12-07 22:02:17 +0100
committerPhilipp Gesang <phg42.2a@gmail.com>2014-12-16 23:50:42 +0100
commitc1b69c7a82b1a138dd1bb1954cd308fa97d15115 (patch)
treee8d1ee479fe13a7c66693eb564d567a45665ef34
parent42deaa5e42c0b8a9e305aa5de5d6953b24b77aca (diff)
downloadrust-c1b69c7a82b1a138dd1bb1954cd308fa97d15115.tar.gz
rust-c1b69c7a82b1a138dd1bb1954cd308fa97d15115.zip
guide-ownership.md, guide-testing.md: fix typos
Signed-off-by: Philipp Gesang <phg@phi-gamma.net>
-rw-r--r--src/doc/guide-ownership.md2
-rw-r--r--src/doc/guide-testing.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/guide-ownership.md b/src/doc/guide-ownership.md
index ddabb1de765..88139a1a513 100644
--- a/src/doc/guide-ownership.md
+++ b/src/doc/guide-ownership.md
@@ -416,7 +416,7 @@ note: `car` moved here because it has type `Car`, which is non-copyable
 ```
 
 We need our `Car` to be pointed to by multiple `Wheel`s. We can't do that with
-`Box<T>`, because it has a single owner. We can do t with `Rc<T>` instead:
+`Box<T>`, because it has a single owner. We can do it with `Rc<T>` instead:
 
 ```rust
 use std::rc::Rc;
diff --git a/src/doc/guide-testing.md b/src/doc/guide-testing.md
index 0452ed0bfeb..682c89fcc53 100644
--- a/src/doc/guide-testing.md
+++ b/src/doc/guide-testing.md
@@ -357,7 +357,7 @@ Let's finally check out that third section: documentation tests.
 
 Nothing is better than documentation with examples. Nothing is worse than
 examples that don't actually work, because the code has changed since the
-documentation has been written. To this end, Rust supports automaticaly
+documentation has been written. To this end, Rust supports automatically
 running examples in your documentation. Here's a fleshed-out `src/lib.rs`
 with examples: