Skip to content

Commit dac552f

Browse files
committed
doc: change 0u32..10 to 0..10
1 parent 199bdcf commit dac552f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/looping.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ We now loop forever with `loop` and use `break` to break out early.
123123
iteration. This will only print the odd numbers:
124124

125125
```{rust}
126-
for x in 0u32..10 {
126+
for x in 0..10 {
127127
if x % 2 == 0 { continue; }
128128
129129
println!("{}", x);

0 commit comments

Comments
 (0)