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};