about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2015-03-28 18:09:51 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2015-03-28 18:09:51 +0300
commit1accaa9f86002e95c1d0a677349ab033ec6dd2e2 (patch)
tree9a65dc2cb6f8a0f38639eed8fbf9902994faa3e5 /src/doc
parent227b46bdede794d5c8476b810bb1c30926bd9c04 (diff)
downloadrust-1accaa9f86002e95c1d0a677349ab033ec6dd2e2.tar.gz
rust-1accaa9f86002e95c1d0a677349ab033ec6dd2e2.zip
Fix some typos
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/trpl/associated-types.md2
-rw-r--r--src/doc/trpl/documentation.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/trpl/associated-types.md b/src/doc/trpl/associated-types.md
index f36c2c56b6a..7161cd33f89 100644
--- a/src/doc/trpl/associated-types.md
+++ b/src/doc/trpl/associated-types.md
@@ -170,7 +170,7 @@ let obj = Box::new(graph) as Box<Graph>;
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ```
 
-We can’t create a trait object like this, becuase we don’t know the associated
+We can’t create a trait object like this, because we don’t know the associated
 types. Instead, we can write this:
 
 ```rust
diff --git a/src/doc/trpl/documentation.md b/src/doc/trpl/documentation.md
index 43b49c09ae4..d591019e9c0 100644
--- a/src/doc/trpl/documentation.md
+++ b/src/doc/trpl/documentation.md
@@ -529,7 +529,7 @@ This will create documentation for bar both inside the documentation for the
 crate `foo`, as well as the documentation for your crate. It will use the same
 documentation in both places.
 
-This behavior can be supressed with `no_inline`:
+This behavior can be suppressed with `no_inline`:
 
 ```ignore
 extern crate foo;