Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b71d6bc

Browse files
committedOct 5, 2023
fixup! docs: Correct terminology in std::cmp
Replaced "this" with "this trait" in module level documentation of `std::cmp` for `PartialEq` to be more clear.
1 parent 12ed8a8 commit b71d6bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎library/core/src/cmp.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//! summary:
55
//!
66
//! * [`PartialEq<Rhs>`] overloads the `==` and `!=` operators. In cases where
7-
//! `Rhs` (the right hand side's type) is `Self`, this corresponds to a
7+
//! `Rhs` (the right hand side's type) is `Self`, this trait corresponds to a
88
//! partial equivalence relation.
99
//! * [`Eq`] indicates that the overloaded `==` operator corresponds to an
1010
//! equivalence relation.

0 commit comments

Comments
 (0)
Please sign in to comment.