Skip to content

Commit 9eed8b1

Browse files
committed
Rollup merge of #22410 - Reignbeaux:master, r=steveklabnik
I just stumbled on a typo and fixed it.
2 parents be83d60 + ad827af commit 9eed8b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/trpl/compound-data-types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,8 @@ The `ordering` variable has the type `Ordering`, and so contains one of the
322322
three values. We then do a bunch of `if`/`else` comparisons to check which
323323
one it is.
324324

325-
This `Ordering::Greater` notation is too long. Lets use `use` to import can
326-
the `enum` variants instead. This will avoid full scoping:
325+
This `Ordering::Greater` notation is too long. Let's use `use` to import the
326+
`enum` variants instead. This will avoid full scoping:
327327

328328
```{rust}
329329
use std::cmp::Ordering::{self, Equal, Less, Greater};

0 commit comments

Comments
 (0)