From ec71feb98465c27319a42d31befc6150a2c2798a Mon Sep 17 00:00:00 2001 From: Shawn M Moore Date: Sat, 1 Apr 2023 12:57:22 -0400 Subject: [PATCH] Improve grammar of Iterator.partition_in_place b9535c0b7d6 Auto merge of #109801 - aliemjay:test-implied-normalization, r=petrochenkov --- library/core/src/iter/traits/iterator.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/core/src/iter/traits/iterator.rs b/library/core/src/iter/traits/iterator.rs index 080330fa41ef5..36cf7defd6ded 100644 --- a/library/core/src/iter/traits/iterator.rs +++ b/library/core/src/iter/traits/iterator.rs @@ -2120,8 +2120,8 @@ pub trait Iterator { /// /// # Current implementation /// - /// Current algorithms tries finding the first element for which the predicate evaluates - /// to false, and the last element for which it evaluates to true and repeatedly swaps them. + /// The current algorithm tries to find the first element for which the predicate evaluates + /// to false and the last element for which it evaluates to true, and repeatedly swaps them. /// /// Time complexity: *O*(*n*) ///