From 2a1489079202e35afbde02a18007afde16a4c5cf Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Sat, 25 Feb 2017 16:56:00 -0500 Subject: [PATCH] Make code formatting consistent --- src/ch13-02-iterators.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ch13-02-iterators.md b/src/ch13-02-iterators.md index 9fd5cccce..e6ff86e5c 100644 --- a/src/ch13-02-iterators.md +++ b/src/ch13-02-iterators.md @@ -271,9 +271,9 @@ let sum: u32 = Counter::new().take(5) assert_eq!(18, sum); ``` -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. +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`. All of these method calls are possible because we implemented the `Iterator` trait by specifying how the `next` method works. Use the standard library