diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/guide.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/guide.md b/src/doc/guide.md index 6a27cf2f1ef..091437409c3 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -4489,8 +4489,8 @@ 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 -only the elements that that closure returned `true` for: +returns `true` or `false`. The new iterator `filter()` produces +only the elements that that closure returns `true` for: ```{rust} for i in range(1i, 100i).filter(|x| x % 2 == 0) { |
