mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
wording
Co-authored-by: Jane Lusby <jlusby42@gmail.com>
This commit is contained in:
parent
a7abd13092
commit
45675f3d95
@ -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))`.
|
||||
|
Loading…
Reference in New Issue
Block a user