Skip to content

Commit

Permalink
wording
Browse files Browse the repository at this point in the history
Co-authored-by: Jane Lusby <jlusby42@gmail.com>
  • Loading branch information
RalfJung and yaahc authored Jun 15, 2021
1 parent a7abd13 commit 45675f3
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
@@ -635,7 +635,7 @@ impl<T: Clone> Clone for Reverse<T> {

/// 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))`.

0 comments on commit 45675f3

Please sign in to comment.