Skip to content

Commit

Permalink
Rollup merge of rust-lang#36165 - fanzier:fix-typo, r=GuillaumeGomez
Browse files Browse the repository at this point in the history
Fix typo in PartialOrd docs

The inline code was formatted incorrectly because of the backtick.
  • Loading branch information
Jonathan Turner authored Aug 31, 2016
2 parents e32adbb + 56edae2 commit 3f112a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/cmp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
///
Expand Down

0 comments on commit 3f112a7

Please sign in to comment.