From 2ec294b2232038c6f886d4d2fd0274845d6946b3 Mon Sep 17 00:00:00 2001 From: Luc Street Date: Thu, 29 Dec 2016 14:21:07 -0800 Subject: [PATCH] Fix typo in PartialOrd docs --- src/libcore/cmp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/cmp.rs b/src/libcore/cmp.rs index 0daf658a0f42d..54fb70278cac6 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.