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.
This commit is contained in:
Dylan DPC 2020-04-29 19:39:37 +02:00 committed by GitHub
commit d11b5597f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -191,6 +191,7 @@ use self::Ordering::*;
/// assert_eq!(x.eq(&y), false);
/// ```
///
/// [`Eq`]: Eq
/// [`eq`]: PartialEq::eq
/// [`ne`]: PartialEq::ne
#[lang = "eq"]