From 5dfd79a8e624670f041e648ec2ac140699ea5322 Mon Sep 17 00:00:00 2001 From: Jared Manning Date: Sun, 3 Jul 2016 03:01:18 -0500 Subject: [PATCH] Fix spacing in for loop enumeration example Add a space between the comma and j in (i, j) to make it look nice. --- src/doc/book/loops.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/book/loops.md b/src/doc/book/loops.md index e23e6f3a786a5..e681d1bee0618 100644 --- a/src/doc/book/loops.md +++ b/src/doc/book/loops.md @@ -105,7 +105,7 @@ When you need to keep track of how many times you already looped, you can use th #### On ranges: ```rust -for (i,j) in (5..10).enumerate() { +for (i, j) in (5..10).enumerate() { println!("i = {} and j = {}", i, j); } ```