Closed
Description
In the documentation for PartialEq
, you will find the following:
This trait allows for partial equality, for types that do not have a full equivalence relation. For example, in floating point numbers
NaN != NaN
, so floating point types implementPartialEq
but notEq
.
The link on this page is not actually a link to the Eq
trait, but a link to the PartialEq::eq
method on the same page.
The link is written as [`Eq`] with an [`eq`]: PartialEq::eq in the same doc-comment, so I am unsure whether this should be considered an issue in the documentation, or in rustdoc.
This issue has been assigned to @poliorcetics via this comment.