diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-06-02 11:14:08 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-06-02 11:14:08 +0530 |
| commit | 98612dad9b0fa66ad9c8d382b5f0a02de76aa357 (patch) | |
| tree | 0714384baf1f1ce7b8bc92e9b7f89cbf804e7d93 | |
| parent | a85150b58aa33213ea3df746a980b1cbd690a612 (diff) | |
| parent | 5fefae684a6284244541dbe7c86da6b052181dfa (diff) | |
| download | rust-98612dad9b0fa66ad9c8d382b5f0a02de76aa357.tar.gz rust-98612dad9b0fa66ad9c8d382b5f0a02de76aa357.zip | |
Rollup merge of #25941 - puzza007:trpl-infinite-iterator-chain-take, r=steveklabnik
| -rw-r--r-- | src/doc/trpl/iterators.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/iterators.md b/src/doc/trpl/iterators.md index c391a0ea9b6..249c1cc7e34 100644 --- a/src/doc/trpl/iterators.md +++ b/src/doc/trpl/iterators.md @@ -321,7 +321,7 @@ You can chain all three things together: start with an iterator, adapt it a few times, and then consume the result. Check it out: ```rust -(1..1000) +(1..) .filter(|&x| x % 2 == 0) .filter(|&x| x % 3 == 0) .take(5) |
