Skip to content

Commit

Permalink
fixup! docs: Correct terminology in std::cmp
Browse files Browse the repository at this point in the history
Replaced "this" with "this trait" in module level documentation of
`std::cmp` for `PartialEq` to be more clear.
  • Loading branch information
JanBeh committed Oct 5, 2023
1 parent 12ed8a8 commit b71d6bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/cmp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//! summary:
//!
//! * [`PartialEq<Rhs>`] overloads the `==` and `!=` operators. In cases where
//! `Rhs` (the right hand side's type) is `Self`, this corresponds to a
//! `Rhs` (the right hand side's type) is `Self`, this trait corresponds to a
//! partial equivalence relation.
//! * [`Eq`] indicates that the overloaded `==` operator corresponds to an
//! equivalence relation.
Expand Down

0 comments on commit b71d6bc

Please sign in to comment.