Skip to content

Commit d11b559

Browse files
authored
Rollup merge of #71680 - nicholasbishop:bishop-fix-eq-link, r=Mark-Simulacrum
Fix doc link to Eq trait from PartialEq trait The `Eq` link was incorrectly going to the `eq` method of `PartialEq` instead of to the `Eq` trait.
2 parents 3286436 + f408a4e commit d11b559

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcore/cmp.rs

+1
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ use self::Ordering::*;
191191
/// assert_eq!(x.eq(&y), false);
192192
/// ```
193193
///
194+
/// [`Eq`]: Eq
194195
/// [`eq`]: PartialEq::eq
195196
/// [`ne`]: PartialEq::ne
196197
#[lang = "eq"]

0 commit comments

Comments
 (0)