Rollup merge of #36165 - fanzier:fix-typo, r=GuillaumeGomez
Fix typo in PartialOrd docs The inline code was formatted incorrectly because of the backtick.
This commit is contained in:
commit
0cb507394e
1 changed files with 1 additions and 1 deletions
|
|
@ -383,7 +383,7 @@ impl PartialOrd for Ordering {
|
|||
/// }
|
||||
/// ```
|
||||
///
|
||||
/// You may also find it useful to use `partial_cmp()` on your type`s fields. Here
|
||||
/// You may also find it useful to use `partial_cmp()` on your type's fields. Here
|
||||
/// is an example of `Person` types who have a floating-point `height` field that
|
||||
/// is the only field to be used for sorting:
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue