about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHenrik Schopmans <h.schopmans@googlemail.com>2015-02-16 17:58:17 +0000
committerHenrik Schopmans <h.schopmans@googlemail.com>2015-02-16 17:58:17 +0000
commitad827af11ca32a861ca9172877a431d8b27dd54d (patch)
treee0227cff03225bd3464791570f59daa1750211db
parentc5db290bf6df986a6acd5ce993f278c18e55ca37 (diff)
downloadrust-ad827af11ca32a861ca9172877a431d8b27dd54d.tar.gz
rust-ad827af11ca32a861ca9172877a431d8b27dd54d.zip
Fixed typo and removed unfitting 'can'
-rw-r--r--src/doc/trpl/compound-data-types.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/trpl/compound-data-types.md b/src/doc/trpl/compound-data-types.md
index dea19fa73fb..3947ee19d6b 100644
--- a/src/doc/trpl/compound-data-types.md
+++ b/src/doc/trpl/compound-data-types.md
@@ -321,8 +321,8 @@ The `ordering` variable has the type `Ordering`, and so contains one of the
 three values. We then do a bunch of `if`/`else` comparisons to check which
 one it is.
 
-This `Ordering::Greater` notation is too long. Lets use `use` to import can
-the `enum` variants instead. This will avoid full scoping:
+This `Ordering::Greater` notation is too long. Let's use `use` to import the
+`enum` variants instead. This will avoid full scoping:
 
 ```{rust}
 use std::cmp::Ordering::{self, Equal, Less, Greater};