Skip to content

Commit 0cb5073

Browse files
author
Jonathan Turner
authored
Rollup merge of #36165 - fanzier:fix-typo, r=GuillaumeGomez
Fix typo in PartialOrd docs The inline code was formatted incorrectly because of the backtick.
2 parents 2040d19 + 56edae2 commit 0cb5073

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/cmp.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ impl PartialOrd for Ordering {
383383
/// }
384384
/// ```
385385
///
386-
/// You may also find it useful to use `partial_cmp()` on your type`s fields. Here
386+
/// You may also find it useful to use `partial_cmp()` on your type's fields. Here
387387
/// is an example of `Person` types who have a floating-point `height` field that
388388
/// is the only field to be used for sorting:
389389
///

0 commit comments

Comments
 (0)