diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2016-12-29 17:26:40 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-29 17:26:40 -0800 |
| commit | 19e187c17539728ea661e17f4d0b63a6d07d5b99 (patch) | |
| tree | 94341e8a985fddb16c1a41a6a05cc45fd2788401 /src/libcore | |
| parent | 3e36dd89819762732572a8d69a0faec2bfd10ebf (diff) | |
| parent | 2ec294b2232038c6f886d4d2fd0274845d6946b3 (diff) | |
| download | rust-19e187c17539728ea661e17f4d0b63a6d07d5b99.tar.gz rust-19e187c17539728ea661e17f4d0b63a6d07d5b99.zip | |
Rollup merge of #38693 - lucis-fluxum:partialord-typo-fix, r=steveklabnik
Fix typo in PartialOrd docs
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/cmp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/cmp.rs b/src/libcore/cmp.rs index 0daf658a0f4..54fb70278ca 100644 --- a/src/libcore/cmp.rs +++ b/src/libcore/cmp.rs @@ -429,7 +429,7 @@ impl PartialOrd for Ordering { /// This trait can be used with `#[derive]`. When `derive`d, it will produce a lexicographic /// ordering based on the top-to-bottom declaration order of the struct's members. /// -/// ## How can I implement `Ord`? +/// ## How can I implement `PartialOrd`? /// /// PartialOrd only requires implementation of the `partial_cmp` method, with the others generated /// from default implementations. |
