We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f01879 commit 7f4b932Copy full SHA for 7f4b932
core/src/cmp.rs
@@ -635,7 +635,7 @@ impl<T: Clone> Clone for Reverse<T> {
635
636
/// Trait for types that form a [total order](https://en.wikipedia.org/wiki/Total_order).
637
///
638
-/// Implementations must ensure to be consistent with the [`PartialOrd`] implementation, and that
+/// Implementations must be consistent with the [`PartialOrd`] implementation, and ensure
639
/// `max`, `min`, and `clamp` are consistent with `cmp`:
640
641
/// - `partial_cmp(a, b) == Some(cmp(a, b))`.
0 commit comments