diff options
| author | Shawn M Moore <code@sartak.org> | 2023-04-01 12:57:22 -0400 |
|---|---|---|
| committer | Shawn M Moore <code@sartak.org> | 2023-04-01 13:01:00 -0400 |
| commit | ec71feb98465c27319a42d31befc6150a2c2798a (patch) | |
| tree | 18be03470dfa2abda3c65db39a35db70c76003c5 | |
| parent | b9535c0b7d64290b27c4a116262402cd12f77833 (diff) | |
| download | rust-ec71feb98465c27319a42d31befc6150a2c2798a.tar.gz rust-ec71feb98465c27319a42d31befc6150a2c2798a.zip | |
Improve grammar of Iterator.partition_in_place
b9535c0b7d6 Auto merge of #109801 - aliemjay:test-implied-normalization, r=petrochenkov
| -rw-r--r-- | library/core/src/iter/traits/iterator.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/iter/traits/iterator.rs b/library/core/src/iter/traits/iterator.rs index 080330fa41e..36cf7defd6d 100644 --- a/library/core/src/iter/traits/iterator.rs +++ b/library/core/src/iter/traits/iterator.rs @@ -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*) /// |
