about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJonathan Turner <jonathandturner@users.noreply.github.com>2016-08-31 06:29:12 -0700
committerGitHub <noreply@github.com>2016-08-31 06:29:12 -0700
commit0cb507394e15e131b681ab975eda51a69501982c (patch)
tree51d47f30d58fe1975d64f424a93fa45053ba2a6e /src
parent2040d19b940ead1dc3faf16552f6725e7a40a248 (diff)
parent56edae2f424ab0e8325c826a1d0b83783b47adaa (diff)
downloadrust-0cb507394e15e131b681ab975eda51a69501982c.tar.gz
rust-0cb507394e15e131b681ab975eda51a69501982c.zip
Rollup merge of #36165 - fanzier:fix-typo, r=GuillaumeGomez
Fix typo in PartialOrd docs

The inline code was formatted incorrectly because of the backtick.
Diffstat (limited to 'src')
-rw-r--r--src/libcore/cmp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/cmp.rs b/src/libcore/cmp.rs
index 907dd1508d8..670978a2d49 100644
--- a/src/libcore/cmp.rs
+++ b/src/libcore/cmp.rs
@@ -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:
 ///