Skip to content

Commit

Permalink
Auto merge of #117506 - massivebird:ord-typo, r=ChrisDenton
Browse files Browse the repository at this point in the history
fixes: typo in `std::cmp::Ord` trait docs

Pluralizes the word "sequence"
  • Loading branch information
bors committed Nov 2, 2023
2 parents 722b3ee + 5b342b7 commit 42e1e12
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
Expand Up @@ -740,7 +740,7 @@ impl<T: Clone> Clone for Reverse<T> {
/// - Two sequences are compared element by element.
/// - 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 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.
/// - Two empty sequences are lexicographically equal.
///
Expand Down

0 comments on commit 42e1e12

Please sign in to comment.