about summary refs log tree commit diff
diff options
context:
space:
mode:
authormassivebird <gdrakemail@gmail.com>2023-11-01 23:23:34 -0400
committermassivebird <gdrakemail@gmail.com>2023-11-01 23:23:34 -0400
commit5b342b795388db7c31b108138ec3eb26ada08bbe (patch)
tree213dbe29afc6311c440c1c283cdff4f697c83cbf
parent722b3eeb72b6bca6c38bbcbda57179f073f23431 (diff)
downloadrust-5b342b795388db7c31b108138ec3eb26ada08bbe.tar.gz
rust-5b342b795388db7c31b108138ec3eb26ada08bbe.zip
fixes: typo in `std::cmp::Ord` trait docs
-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.
 ///