Skip to content

Commit eef9587

Browse files
committed
fix broken link in PartialEq doc
PartialEq doc was attempting to link to [`Eq`] but instead we got a link to `eq`. Disambiguate with "trait@Eq".
1 parent 7cf2056 commit eef9587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/cmp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ use self::Ordering::*;
2929
///
3030
/// This trait allows for partial equality, for types that do not have a full
3131
/// equivalence relation. For example, in floating point numbers `NaN != NaN`,
32-
/// so floating point types implement `PartialEq` but not [`Eq`].
32+
/// so floating point types implement `PartialEq` but not [`trait@Eq`].
3333
///
3434
/// Formally, the equality must be (for all `a`, `b` and `c`):
3535
///

0 commit comments

Comments
 (0)