mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
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
@ -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…
Reference in New Issue
Block a user