Skip to content

Commit

Permalink
Fix spacing in for loop enumeration example
Browse files Browse the repository at this point in the history
Add a space between the comma and j in (i, j) to make it look nice.
  • Loading branch information
Jared Manning authored Jul 3, 2016
1 parent ecbfa47 commit 5dfd79a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/book/loops.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
```
Expand Down

0 comments on commit 5dfd79a

Please sign in to comment.