Auto merge of #117506 - massivebird:ord-typo, r=ChrisDenton
fixes: typo in `std::cmp::Ord` trait docs Pluralizes the word "sequence"
This commit is contained in:
commit
42e1e1208b
@ -740,7 +740,7 @@ fn clone_from(&mut self, other: &Self) {
|
|||||||
/// - Two sequences are compared element by element.
|
/// - Two sequences are compared element by element.
|
||||||
/// - The first mismatching element defines which sequence is lexicographically less or greater than the other.
|
/// - The first mismatching element defines which sequence is lexicographically less or greater than the other.
|
||||||
/// - If one sequence is a prefix of another, the shorter sequence is lexicographically less than the other.
|
/// - If one sequence is a prefix of another, the shorter sequence is lexicographically less than the other.
|
||||||
/// - If two sequence have equivalent elements and are of the same length, then the sequences are lexicographically equal.
|
/// - If two sequences have equivalent elements and are of the same length, then the sequences are lexicographically equal.
|
||||||
/// - An empty sequence is lexicographically less than any non-empty sequence.
|
/// - An empty sequence is lexicographically less than any non-empty sequence.
|
||||||
/// - Two empty sequences are lexicographically equal.
|
/// - Two empty sequences are lexicographically equal.
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user