Skip to content

Commit 56edae2

Browse files
authored
Fix typo in PartialOrd docs
1 parent eac4146 commit 56edae2

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)