Skip to content

Commit 19e187c

Browse files
authored
Rollup merge of rust-lang#38693 - lucis-fluxum:partialord-typo-fix, r=steveklabnik
Fix typo in PartialOrd docs
2 parents 3e36dd8 + 2ec294b commit 19e187c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/cmp.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ impl PartialOrd for Ordering {
429429
/// This trait can be used with `#[derive]`. When `derive`d, it will produce a lexicographic
430430
/// ordering based on the top-to-bottom declaration order of the struct's members.
431431
///
432-
/// ## How can I implement `Ord`?
432+
/// ## How can I implement `PartialOrd`?
433433
///
434434
/// PartialOrd only requires implementation of the `partial_cmp` method, with the others generated
435435
/// from default implementations.

0 commit comments

Comments
 (0)