Skip to content

Commit

Permalink
Fix typo in PartialOrd docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lucis-fluxum authored Dec 29, 2016
1 parent e7c788a commit 2ec294b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/cmp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2ec294b

Please sign in to comment.