Rollup merge of #22410 - Reignbeaux:master, r=steveklabnik

I just stumbled on a typo and fixed it.
This commit is contained in:
Manish Goregaokar 2015-02-17 15:41:34 +05:30
commit 9eed8b1c27

View file

@ -322,8 +322,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};