We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9535c0 commit ec71febCopy full SHA for ec71feb
library/core/src/iter/traits/iterator.rs
@@ -2120,8 +2120,8 @@ pub trait Iterator {
2120
///
2121
/// # Current implementation
2122
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.
+ /// 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.
2125
2126
/// Time complexity: *O*(*n*)
2127
0 commit comments