We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6db118 commit 2a14890Copy full SHA for 2a14890
src/ch13-02-iterators.md
@@ -271,9 +271,9 @@ let sum: u32 = Counter::new().take(5)
271
assert_eq!(18, sum);
272
```
273
274
-Note that zip() produces only four pairs; the theoretical fifth pair (5, None)
275
-is never produced because zip() returns None when either of its input iterators
276
-return None.
+Note that `zip` produces only four pairs; the theoretical fifth pair `(5,
+None)` is never produced because `zip` returns `None` when either of its input
+iterators return `None`.
277
278
All of these method calls are possible because we implemented the `Iterator`
279
trait by specifying how the `next` method works. Use the standard library
0 commit comments