Skip to content

Commit ec71feb

Browse files
committed
Improve grammar of Iterator.partition_in_place
b9535c0 Auto merge of #109801 - aliemjay:test-implied-normalization, r=petrochenkov
1 parent b9535c0 commit ec71feb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/iter/traits/iterator.rs

+2-2
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)