about summary refs log tree commit diff
path: root/src/doc/tutorial.md
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@gmail.com>2014-07-02 16:27:08 -0400
committerAlex Crichton <alex@alexcrichton.com>2014-07-03 12:54:51 -0700
commit704f11d3d8a066eb5e8bb869af07fa33de530cc8 (patch)
treea32cd816e76871998eddd5fcdcc7147f730f6633 /src/doc/tutorial.md
parent5d360050666ef6c884fbf9b7eec1f3da9f0d13bf (diff)
downloadrust-704f11d3d8a066eb5e8bb869af07fa33de530cc8.tar.gz
rust-704f11d3d8a066eb5e8bb869af07fa33de530cc8.zip
correct a few spelling mistakes in the tutorial
Diffstat (limited to 'src/doc/tutorial.md')
-rw-r--r--src/doc/tutorial.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/tutorial.md b/src/doc/tutorial.md
index 5fe6a5f14c2..2a788d7e793 100644
--- a/src/doc/tutorial.md
+++ b/src/doc/tutorial.md
@@ -469,7 +469,7 @@ fn signum(x: int) -> int {
 
 Rust's `match` construct is a generalized, cleaned-up version of C's
 `switch` construct. You provide it with a value and a number of
-*arms*, each labelled with a pattern, and the code compares the value
+*arms*, each labeled with a pattern, and the code compares the value
 against each pattern in order until one matches. The matching pattern
 executes its corresponding arm.
 
@@ -2524,7 +2524,7 @@ of the components of types. By design, trait objects don't know the exact type
 of their contents and so the compiler cannot reason about those properties.
 
 You can instruct the compiler, however, that the contents of a trait object must
-acribe to a particular bound with a trailing colon (`:`). These are examples of
+ascribe to a particular bound with a trailing colon (`:`). These are examples of
 valid types:
 
 ~~~rust
@@ -2579,7 +2579,7 @@ This is a silly way to compute the radius of a circle
 
 In type-parameterized functions,
 methods of the supertrait may be called on values of subtrait-bound type parameters.
-Refering to the previous example of `trait Circle : Shape`:
+Referring to the previous example of `trait Circle : Shape`:
 
 ~~~
 # trait Shape { fn area(&self) -> f64; }