Skip to content

Commit

Permalink
Rollup merge of rust-lang#38693 - lucis-fluxum:partialord-typo-fix, r…
Browse files Browse the repository at this point in the history
…=steveklabnik

Fix typo in PartialOrd docs
  • Loading branch information
alexcrichton authored Dec 30, 2016
2 parents 3e36dd8 + 2ec294b commit 19e187c
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 19e187c

Please sign in to comment.