Co-authored-by: Jane Lusby <jlusby42@gmail.com>
This commit is contained in:
Ralf Jung 2021-06-15 10:20:08 +02:00 committed by GitHub
parent a7abd13092
commit 45675f3d95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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