Skip to content

Commit

Permalink
output code language to text
Browse files Browse the repository at this point in the history
  • Loading branch information
azerupi committed May 31, 2015
1 parent 151c3d3 commit 90057c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doc/trpl/for-loops.md
Expand Up @@ -56,7 +56,7 @@ for (i,j) in (5..10).enumerate() {

Outputs:

```rust
```text
i = 0 and j = 5
i = 1 and j = 6
i = 2 and j = 7
Expand All @@ -76,7 +76,7 @@ for (linenumber, line) in lines.enumerate() {

Outputs:

```rust
```text
0: Content of line one
1: Content of line two
2: Content of line tree
Expand Down

0 comments on commit 90057c2

Please sign in to comment.