From b71d6bc32ad81eca6b116574ed1634675e67b258 Mon Sep 17 00:00:00 2001 From: Jan Behrens Date: Thu, 5 Oct 2023 13:40:38 +0200 Subject: [PATCH] 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. --- library/core/src/cmp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/cmp.rs b/library/core/src/cmp.rs index 4f33f34a13fbd..f59a965be5a37 100644 --- a/library/core/src/cmp.rs +++ b/library/core/src/cmp.rs @@ -4,7 +4,7 @@ //! summary: //! //! * [`PartialEq`] 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.