about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-07-24 07:51:18 +0000
committerbors <bors@rust-lang.org>2014-07-24 07:51:18 +0000
commit02464196eaf56838c16d747e77536cefd14c5238 (patch)
tree7c403439c9f434cb384c88823a27508f2181ee29 /src
parent9e2bb9d67bb47b9a3a6c7389efa45cefc33206a6 (diff)
parent6bb22a9d6da236d46572e98abb0722971c77fdb5 (diff)
auto merge of #15909 : colemickens/rust/patch-3, r=alexcrichton
Tested this on the playground, the range specifies range(0u, 3), so it should be okay to remove this cast.
Diffstat (limited to 'src')
-rw-r--r--src/doc/intro.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/intro.md b/src/doc/intro.md
index 7dcf8486181..32c5f346de1 100644
--- a/src/doc/intro.md
+++ b/src/doc/intro.md
@@ -276,7 +276,7 @@ fn main() {
 
         spawn(proc() {
             let numbers = rx.recv();
-            println!("{:d}", numbers[num as uint]);
+            println!("{:d}", numbers[num]);
         })
     }
 }