Skip to content

Commit

Permalink
doc: change 0u32..10 to 0..10
Browse files Browse the repository at this point in the history
  • Loading branch information
oneeman committed Mar 26, 2015
1 parent 199bdcf commit dac552f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/trpl/looping.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ We now loop forever with `loop` and use `break` to break out early.
iteration. This will only print the odd numbers:

```{rust}
for x in 0u32..10 {
for x in 0..10 {
if x % 2 == 0 { continue; }
println!("{}", x);
Expand Down

0 comments on commit dac552f

Please sign in to comment.