-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
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.
Metadata
Metadata
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.