about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBarosl LEE <github@barosl.com>2015-01-21 02:16:47 +0900
committerBarosl LEE <github@barosl.com>2015-01-21 02:16:47 +0900
commitb3f6e82beb507eeff94e988308f77224bbfb56f4 (patch)
treed106121e466fd3739b758626b383ae68b9c24735
parent356c61da8d8059a13e81ad07bb984cd49873e228 (diff)
parent1c0acb9d91e50131d9914991dbf71f69466e7cba (diff)
Rollup merge of #21048 - aroben:patch-1, r=steveklabnik
Now both the enum values and the prose describing them mention the values in the same order.
-rw-r--r--src/doc/trpl/compound-data-types.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/compound-data-types.md b/src/doc/trpl/compound-data-types.md
index 0616f094e37..901b44661b0 100644
--- a/src/doc/trpl/compound-data-types.md
+++ b/src/doc/trpl/compound-data-types.md
@@ -254,7 +254,7 @@ things from the standard library if you need them.
 Okay, let's talk about the actual code in the example. `cmp` is a function that
 compares two things, and returns an `Ordering`. We return either
 `Ordering::Less`, `Ordering::Greater`, or `Ordering::Equal`, depending on if
-the two values are greater, less, or equal. Note that each variant of the
+the two values are less, greater, or equal. Note that each variant of the
 `enum` is namespaced under the `enum` itself: it's `Ordering::Greater` not
 `Greater`.