diff options
| author | Nicholas Bishop <nicholasbishop@gmail.com> | 2020-04-29 12:06:32 -0400 |
|---|---|---|
| committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2020-04-29 12:06:32 -0400 |
| commit | f408a4e9bdfae6334a26f169d4502156cf469056 (patch) | |
| tree | 5a2ccd9636a533704b87d852c8d270f5e2c95a6e | |
| parent | e91aebc1a3835b9b420da0c021e211175a724b8d (diff) | |
| download | rust-f408a4e9bdfae6334a26f169d4502156cf469056.tar.gz rust-f408a4e9bdfae6334a26f169d4502156cf469056.zip | |
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.
| -rw-r--r-- | src/libcore/cmp.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/cmp.rs b/src/libcore/cmp.rs index 335969b3ef0..9856efc6bd8 100644 --- a/src/libcore/cmp.rs +++ b/src/libcore/cmp.rs @@ -191,6 +191,7 @@ use self::Ordering::*; /// assert_eq!(x.eq(&y), false); /// ``` /// +/// [`Eq`]: Eq /// [`eq`]: PartialEq::eq /// [`ne`]: PartialEq::ne #[lang = "eq"] |
