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