Skip to content

Commit 2a14890

Browse files
committed
Make code formatting consistent
1 parent c6db118 commit 2a14890

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ch13-02-iterators.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,9 @@ let sum: u32 = Counter::new().take(5)
271271
assert_eq!(18, sum);
272272
```
273273

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.
274+
Note that `zip` produces only four pairs; the theoretical fifth pair `(5,
275+
None)` is never produced because `zip` returns `None` when either of its input
276+
iterators return `None`.
277277

278278
All of these method calls are possible because we implemented the `Iterator`
279279
trait by specifying how the `next` method works. Use the standard library

0 commit comments

Comments
 (0)