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:
commit
d11b5597f8
1 changed files with 1 additions and 0 deletions
|
@ -191,6 +191,7 @@ use self::Ordering::*;
|
||||||
/// assert_eq!(x.eq(&y), false);
|
/// assert_eq!(x.eq(&y), false);
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
|
/// [`Eq`]: Eq
|
||||||
/// [`eq`]: PartialEq::eq
|
/// [`eq`]: PartialEq::eq
|
||||||
/// [`ne`]: PartialEq::ne
|
/// [`ne`]: PartialEq::ne
|
||||||
#[lang = "eq"]
|
#[lang = "eq"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue