Fix typo in PartialOrd docs
This commit is contained in:
parent
e7c788af75
commit
2ec294b223
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue