From 45675f3d9527a5212e96c922dfe4aa1efb7c7a4f Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Tue, 15 Jun 2021 10:20:08 +0200 Subject: [PATCH] wording Co-authored-by: Jane Lusby --- 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 a17cd632583..34f7764c49b 100644 --- a/library/core/src/cmp.rs +++ b/library/core/src/cmp.rs @@ -635,7 +635,7 @@ impl Clone for Reverse { /// Trait for types that form a [total order](https://en.wikipedia.org/wiki/Total_order). /// -/// Implementations must ensure to be consistent with the [`PartialOrd`] implementation, and that +/// Implementations must be consistent with the [`PartialOrd`] implementation, and ensure /// `max`, `min`, and `clamp` are consistent with `cmp`: /// /// - `partial_cmp(a, b) == Some(cmp(a, b))`.