We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3e36dd8 + 2ec294b commit 19e187cCopy full SHA for 19e187c
src/libcore/cmp.rs
@@ -429,7 +429,7 @@ impl PartialOrd for Ordering {
429
/// This trait can be used with `#[derive]`. When `derive`d, it will produce a lexicographic
430
/// ordering based on the top-to-bottom declaration order of the struct's members.
431
///
432
-/// ## How can I implement `Ord`?
+/// ## How can I implement `PartialOrd`?
433
434
/// PartialOrd only requires implementation of the `partial_cmp` method, with the others generated
435
/// from default implementations.
0 commit comments