mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
Rollup merge of #109839 - sartak:iter-grammar, r=scottmcm
Improve grammar of Iterator.partition_in_place This is my first PR against Rust, please let me know if there's anything I should be providing here! I didn't find any instructions specific to documentation grammar in the [std-dev guide](https://std-dev-guide.rust-lang.org/documentation/summary.html).
This commit is contained in:
commit
a38bdd4439
@ -2120,8 +2120,8 @@ pub trait Iterator {
|
||||
///
|
||||
/// # Current implementation
|
||||
///
|
||||
/// Current algorithms tries finding the first element for which the predicate evaluates
|
||||
/// 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.
|
||||
///
|
||||
/// Time complexity: *O*(*n*)
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user