Skip to content

Commit f408a4e

Browse files
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.
1 parent e91aebc commit f408a4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcore/cmp.rs

Lines changed: 1 addition & 0 deletions
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)