Correct typo in the Iterator adapters section
This commit is contained in:
parent
d853666c7b
commit
5a25537faf
1 changed files with 1 additions and 1 deletions
|
@ -4489,7 +4489,7 @@ This will print
|
|||
```
|
||||
|
||||
`filter()` is an adapter that takes a closure as an argument. This closure
|
||||
returns `true` or `false`. The new iterator `filter()` produces returns
|
||||
returns `true` or `false`. The new iterator `filter()` produces
|
||||
only the elements that that closure returned `true` for:
|
||||
|
||||
```{rust}
|
||||
|
|
Loading…
Reference in a new issue