Skip to content

Commit b3f6e82

Browse files
committed
Rollup merge of rust-lang#21048 - aroben:patch-1, r=steveklabnik
Now both the enum values and the prose describing them mention the values in the same order.
2 parents 356c61d + 1c0acb9 commit b3f6e82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ things from the standard library if you need them.
254254
Okay, let's talk about the actual code in the example. `cmp` is a function that
255255
compares two things, and returns an `Ordering`. We return either
256256
`Ordering::Less`, `Ordering::Greater`, or `Ordering::Equal`, depending on if
257-
the two values are greater, less, or equal. Note that each variant of the
257+
the two values are less, greater, or equal. Note that each variant of the
258258
`enum` is namespaced under the `enum` itself: it's `Ordering::Greater` not
259259
`Greater`.
260260

0 commit comments

Comments
 (0)