remove a sentence #28701
This commit is contained in:
parent
219eca11b0
commit
e1acf87fe0
1 changed files with 1 additions and 2 deletions
|
|
@ -281,8 +281,7 @@ If you are trying to execute a closure on an iterator for its side effects,
|
|||
just use `for` instead.
|
||||
|
||||
There are tons of interesting iterator adapters. `take(n)` will return an
|
||||
iterator over the next `n` elements of the original iterator. Note that this
|
||||
has no side effect on the original iterator. Let's try it out with our infinite
|
||||
iterator over the next `n` elements of the original iterator. Let's try it out with our infinite
|
||||
iterator from before:
|
||||
|
||||
```rust
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue