about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-02 04:58:24 +0000
committerbors <bors@rust-lang.org>2023-11-02 04:58:24 +0000
commit42e1e1208b886962a3bf645e4426e38ea4ef4884 (patch)
tree213dbe29afc6311c440c1c283cdff4f697c83cbf
parent722b3eeb72b6bca6c38bbcbda57179f073f23431 (diff)
parent5b342b795388db7c31b108138ec3eb26ada08bbe (diff)
downloadrust-42e1e1208b886962a3bf645e4426e38ea4ef4884.tar.gz
rust-42e1e1208b886962a3bf645e4426e38ea4ef4884.zip
Auto merge of #117506 - massivebird:ord-typo, r=ChrisDenton
fixes: typo in `std::cmp::Ord` trait docs

Pluralizes the word "sequence"
-rw-r--r--library/core/src/cmp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/cmp.rs b/library/core/src/cmp.rs
index 227746b62c8..fadf2fcc9fc 100644
--- a/library/core/src/cmp.rs
+++ b/library/core/src/cmp.rs
@@ -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.
 ///