about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOr Neeman <oneeman@gmail.com>2015-03-26 13:24:20 -0600
committerOr Neeman <oneeman@gmail.com>2015-03-26 13:24:20 -0600
commitdac552f2551d3406d02712d134f74d1175035bbb (patch)
tree90e0bef66c7744c81e22ed7b0323e25299865794
parent199bdcfeff5cfafd1f8e8ff583d7209272469879 (diff)
downloadrust-dac552f2551d3406d02712d134f74d1175035bbb.tar.gz
rust-dac552f2551d3406d02712d134f74d1175035bbb.zip
doc: change 0u32..10 to 0..10
-rw-r--r--src/doc/trpl/looping.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/looping.md b/src/doc/trpl/looping.md
index 4301149d1f8..28f02b1ffe1 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);