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:
@@ -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 an example of `Person` types who have a floating-point `height` field that
|
||||||
/// is the only field to be used for sorting:
|
/// is the only field to be used for sorting:
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in New Issue
Block a user