From ad827af11ca32a861ca9172877a431d8b27dd54d Mon Sep 17 00:00:00 2001 From: Henrik Schopmans Date: Mon, 16 Feb 2015 17:58:17 +0000 Subject: [PATCH] Fixed typo and removed unfitting 'can' --- src/doc/trpl/compound-data-types.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/doc/trpl/compound-data-types.md b/src/doc/trpl/compound-data-types.md index dea19fa73fb49..3947ee19d6bac 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};