Skip to content

Commit 39d1973

Browse files
committed
Improve grammar of Iterator.partition_in_place
b9535c0b7d6 Auto merge of #109801 - aliemjay:test-implied-normalization, r=petrochenkov
1 parent 7b186d8 commit 39d1973

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/iter/traits/iterator.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2120,8 +2120,8 @@ pub trait Iterator {
21202120
///
21212121
/// # Current implementation
21222122
///
2123-
/// Current algorithms tries finding the first element for which the predicate evaluates
2124-
/// to false, and the last element for which it evaluates to true and repeatedly swaps them.
2123+
/// The current algorithm tries to find the first element for which the predicate evaluates
2124+
/// to false and the last element for which it evaluates to true, and repeatedly swaps them.
21252125
///
21262126
/// Time complexity: *O*(*n*)
21272127
///

0 commit comments

Comments
 (0)