doc: change 0u32..10 to 0..10

This commit is contained in:
Or Neeman 2015-03-26 13:24:20 -06:00
parent 199bdcfeff
commit dac552f255

View file

@ -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);