diff options
| author | Henrik Schopmans <h.schopmans@googlemail.com> | 2015-02-16 17:58:17 +0000 |
|---|---|---|
| committer | Henrik Schopmans <h.schopmans@googlemail.com> | 2015-02-16 17:58:17 +0000 |
| commit | ad827af11ca32a861ca9172877a431d8b27dd54d (patch) | |
| tree | e0227cff03225bd3464791570f59daa1750211db | |
| parent | c5db290bf6df986a6acd5ce993f278c18e55ca37 (diff) | |
| download | rust-ad827af11ca32a861ca9172877a431d8b27dd54d.tar.gz rust-ad827af11ca32a861ca9172877a431d8b27dd54d.zip | |
Fixed typo and removed unfitting 'can'
| -rw-r--r-- | src/doc/trpl/compound-data-types.md | 4 |
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}; |
