Fix spacing in for loop enumeration example
Add a space between the comma and j in (i, j) to make it look nice.
This commit is contained in:
parent
ecbfa4749a
commit
5dfd79a8e6
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue