From 3fb663db0ab22e37dea6f28db995e83beddb537b Mon Sep 17 00:00:00 2001 From: Hector PENG Date: Sun, 26 Apr 2026 09:12:55 +0800 Subject: [PATCH] Update ch13-02-iterators.md Changed line 197, from "the iteration returned from `filter`" to "the iterator returned from `filter`" --- src/ch13-02-iterators.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch13-02-iterators.md b/src/ch13-02-iterators.md index 99f2625947..cc51553dd9 100644 --- a/src/ch13-02-iterators.md +++ b/src/ch13-02-iterators.md @@ -196,7 +196,7 @@ their environment. For this example, we’ll use the `filter` method that takes a closure. The closure gets an item from the iterator and returns a `bool`. If the closure -returns `true`, the value will be included in the iteration produced by +returns `true`, the value will be included in the iterator produced by `filter`. If the closure returns `false`, the value won’t be included. In Listing 13-16, we use `filter` with a closure that captures the `shoe_size`