We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1960503 commit 85e4177Copy full SHA for 85e4177
library/core/src/iter/traits/iterator.rs
@@ -1849,6 +1849,10 @@ pub trait Iterator {
1849
///
1850
/// The relative order of partitioned items is not maintained.
1851
1852
+ /// # Current implementation
1853
+ /// Current algorithms tries finding the first element for which the predicate evaluates
1854
+ /// to false, and the last element for which it evaluates to true and repeatedly swaps them.
1855
+ ///
1856
/// Time Complexity: *O*(*N*)
1857
1858
/// See also [`is_partitioned()`] and [`partition()`].
0 commit comments