Skip to content

Commit

Permalink
Rollup merge of rust-lang#71680 - nicholasbishop:bishop-fix-eq-link, …
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
Dylan-DPC authored Apr 29, 2020
2 parents 3286436 + f408a4e commit d11b559
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libcore/cmp.rs
Original file line number Diff line number Diff line change
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 d11b559

Please sign in to comment.