diff options
| author | Adam Roben <adam@roben.org> | 2015-01-12 16:18:02 -0500 |
|---|---|---|
| committer | Adam Roben <adam@roben.org> | 2015-01-12 16:18:02 -0500 |
| commit | 1c0acb9d91e50131d9914991dbf71f69466e7cba (patch) | |
| tree | 4a1fcf122e7c9e86b7d2d961693c0caa17186f9c /src | |
| parent | 055cc2ee742e29e389c5bd1da3a9d49ff8ca3724 (diff) | |
Match prose with code when discussing Ordering values
Now both the enum values and the prose describing them mention the values in the same order.
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/trpl/compound-data-types.md | 2 |
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 afa890b84b4..9f7fa374e69 100644 --- a/src/doc/trpl/compound-data-types.md +++ b/src/doc/trpl/compound-data-types.md @@ -253,7 +253,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`. |
