Skip to content

Commit

Permalink
Fix doc link to Eq trait from PartialEq trait
Browse files Browse the repository at this point in the history
The `Eq` link was incorrectly going to the `eq` method of `PartialEq`
instead of to the `Eq` trait.
  • Loading branch information
nicholasbishop committed Apr 29, 2020
1 parent e91aebc commit f408a4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libcore/cmp.rs
Expand Up @@ -191,6 +191,7 @@ use self::Ordering::*;
/// assert_eq!(x.eq(&y), false);
/// ```
///
/// [`Eq`]: Eq
/// [`eq`]: PartialEq::eq
/// [`ne`]: PartialEq::ne
#[lang = "eq"]
Expand Down

0 comments on commit f408a4e

Please sign in to comment.