We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c78a5f commit 049f6eaCopy full SHA for 049f6ea
src/libcore/cmp.rs
@@ -35,7 +35,7 @@ use self::Ordering::*;
35
///
36
/// This trait allows for partial equality, for types that do not have a full
37
/// equivalence relation. For example, in floating point numbers `NaN != NaN`,
38
-/// so floating point types implement `PartialEq` but not [`Eq`].
+/// so floating point types implement `PartialEq` but not [`Eq`](Eq).
39
40
/// Formally, the equality must be (for all `a`, `b` and `c`):
41
@@ -191,7 +191,6 @@ use self::Ordering::*;
191
/// assert_eq!(x.eq(&y), false);
192
/// ```
193
194
-/// [`Eq`]: Eq
195
/// [`eq`]: PartialEq::eq
196
/// [`ne`]: PartialEq::ne
197
#[lang = "eq"]
0 commit comments