Skip to content

Commit 7f4b932

Browse files
RalfJungyaahc
andauthored
wording
Co-authored-by: Jane Lusby <[email protected]>
1 parent 8f01879 commit 7f4b932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/cmp.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ impl<T: Clone> Clone for Reverse<T> {
635635

636636
/// Trait for types that form a [total order](https://en.wikipedia.org/wiki/Total_order).
637637
///
638-
/// Implementations must ensure to be consistent with the [`PartialOrd`] implementation, and that
638+
/// Implementations must be consistent with the [`PartialOrd`] implementation, and ensure
639639
/// `max`, `min`, and `clamp` are consistent with `cmp`:
640640
///
641641
/// - `partial_cmp(a, b) == Some(cmp(a, b))`.

0 commit comments

Comments
 (0)