From 674fd978aa1ec8afd91f96d78817555a6e73f350 Mon Sep 17 00:00:00 2001 From: Encrypted <113791599+SpectralPixel@users.noreply.github.com> Date: Mon, 22 Jan 2024 18:06:50 +0100 Subject: [PATCH] Fixed #3824 (spelling inconsistency) Fixed an inconsistency between U.K. and U.S. spelling, changed 2 words. Trivial fix. --- src/ch13-02-iterators.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ch13-02-iterators.md b/src/ch13-02-iterators.md index 030ebf48eb..f09ce32836 100644 --- a/src/ch13-02-iterators.md +++ b/src/ch13-02-iterators.md @@ -188,8 +188,8 @@ consuming adaptor methods to get results from calls to iterator adaptors. ### Using Closures that Capture Their Environment -Many iterator adapters take closures as arguments, and commonly the closures -we’ll specify as arguments to iterator adapters will be closures that capture +Many iterator adaptors take closures as arguments, and commonly the closures +we’ll specify as arguments to iterator adaptors will be closures that capture their environment. For this example, we’ll use the `filter` method that takes a closure. The