mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-02-02 23:38:41 +08:00
Don't mention the next function since we don't use it
This commit is contained in:
parent
42c876b3ff
commit
30550a8365
@ -11,8 +11,7 @@ Chapter 16 will cover them fully. For our purposes, though, we don't need to
|
||||
understand much about how they work in order to use them. We only need to
|
||||
understand two things:
|
||||
|
||||
1. Iterators produce a series of values by repeatedly calling a `next`
|
||||
function.
|
||||
1. Iterators produce a series of values.
|
||||
2. We can call the `collect` function on an iterator to turn it into a vector
|
||||
containing all of the elements the iterator produces.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user