Skip to content

Commit 5fc46fa

Browse files
authored
Rollup merge of #73292 - poliorcetics:fix-link-in-partialeq, r=Dylan-DPC
Fixing broken link for the Eq trait Fixes #73233.
2 parents 5db778a + 049f6ea commit 5fc46fa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libcore/cmp.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ use self::Ordering::*;
3535
///
3636
/// This trait allows for partial equality, for types that do not have a full
3737
/// equivalence relation. For example, in floating point numbers `NaN != NaN`,
38-
/// so floating point types implement `PartialEq` but not [`Eq`].
38+
/// so floating point types implement `PartialEq` but not [`Eq`](Eq).
3939
///
4040
/// Formally, the equality must be (for all `a`, `b` and `c`):
4141
///
@@ -191,7 +191,6 @@ use self::Ordering::*;
191191
/// assert_eq!(x.eq(&y), false);
192192
/// ```
193193
///
194-
/// [`Eq`]: Eq
195194
/// [`eq`]: PartialEq::eq
196195
/// [`ne`]: PartialEq::ne
197196
#[lang = "eq"]

0 commit comments

Comments
 (0)