From 5b342b795388db7c31b108138ec3eb26ada08bbe Mon Sep 17 00:00:00 2001 From: massivebird Date: Wed, 1 Nov 2023 23:23:34 -0400 Subject: [PATCH] fixes: typo in `std::cmp::Ord` trait docs --- library/core/src/cmp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ fn clone_from(&mut self, other: &Self) { /// - 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. ///