diff options
| author | bors <bors@rust-lang.org> | 2023-11-02 04:58:24 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-11-02 04:58:24 +0000 |
| commit | 42e1e1208b886962a3bf645e4426e38ea4ef4884 (patch) | |
| tree | 213dbe29afc6311c440c1c283cdff4f697c83cbf | |
| parent | 722b3eeb72b6bca6c38bbcbda57179f073f23431 (diff) | |
| parent | 5b342b795388db7c31b108138ec3eb26ada08bbe (diff) | |
| download | rust-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.rs | 2 |
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. /// |
