From eefa04cca6014fa40f19334839f44ae84c2f996d Mon Sep 17 00:00:00 2001 From: al Date: Sun, 7 Sep 2025 16:11:09 +0800 Subject: [PATCH] Update ch13-02-iterators.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 英文原文是readable way,意思是易读,这比只读更准确,只读可能被误认为是readonly. --- 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 d0f6bd6..d48530a 100644 --- a/src/ch13-02-iterators.md +++ b/src/ch13-02-iterators.md @@ -111,7 +111,7 @@ pub trait Iterator { 由于 `map` 接受一个闭包,因此我们可以指定希望在每个元素上执行的任何操作。这是一个很好的例子,展示了如何通过闭包来自定义某些行为,同时复用 `Iterator` trait 提供的迭代行为。 -可以链式调用多个迭代器适配器来以一种可读的方式进行复杂的操作。不过因为所有的迭代器都是惰性的,你必须调用一个消费适配器方法,才能从这些迭代器适配器的调用中获取结果。 +可以链式调用多个迭代器适配器来以一种易读的方式进行复杂的操作。不过因为所有的迭代器都是惰性的,你必须调用一个消费适配器方法,才能从这些迭代器适配器的调用中获取结果。 ### 使用捕获其环境的闭包