Skip to content

Commit 42e1e12

Browse files
committed
Auto merge of #117506 - massivebird:ord-typo, r=ChrisDenton
fixes: typo in `std::cmp::Ord` trait docs Pluralizes the word "sequence"
2 parents 722b3ee + 5b342b7 commit 42e1e12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/cmp.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ impl<T: Clone> Clone for Reverse<T> {
740740
/// - Two sequences are compared element by element.
741741
/// - The first mismatching element defines which sequence is lexicographically less or greater than the other.
742742
/// - If one sequence is a prefix of another, the shorter sequence is lexicographically less than the other.
743-
/// - If two sequence have equivalent elements and are of the same length, then the sequences are lexicographically equal.
743+
/// - If two sequences have equivalent elements and are of the same length, then the sequences are lexicographically equal.
744744
/// - An empty sequence is lexicographically less than any non-empty sequence.
745745
/// - Two empty sequences are lexicographically equal.
746746
///

0 commit comments

Comments
 (0)