]> git.lizzy.rs Git - rust.git/blobdiff - src/libcore/cmp.rs
Auto merge of #35856 - phimuemue:master, r=brson
[rust.git] / src / libcore / cmp.rs
index 907dd1508d8bee9b7c1012629b974da85473a6e5..670978a2d49aff8f57dd0e9b25c6eb374c7c3aa5 100644 (file)
@@ -383,7 +383,7 @@ fn partial_cmp(&self, other: &Ordering) -> Option<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:
 ///