adding time complexity for partition_in_place iter method

This commit is contained in:
Satyarth Agrahari 2021-05-15 10:50:02 +05:30
parent 1025db84a6
commit 196050305c

View File

@ -1849,6 +1849,8 @@ fn extend<'a, T, B: Extend<T>>(
///
/// The relative order of partitioned items is not maintained.
///
/// Time Complexity: *O*(*N*)
///
/// See also [`is_partitioned()`] and [`partition()`].
///
/// [`is_partitioned()`]: Iterator::is_partitioned