From dac552f2551d3406d02712d134f74d1175035bbb Mon Sep 17 00:00:00 2001 From: Or Neeman Date: Thu, 26 Mar 2015 13:24:20 -0600 Subject: [PATCH] doc: change 0u32..10 to 0..10 --- src/doc/trpl/looping.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/trpl/looping.md b/src/doc/trpl/looping.md index 4301149d1f8b3..28f02b1ffe152 100644 --- a/src/doc/trpl/looping.md +++ b/src/doc/trpl/looping.md @@ -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);