about summary refs log tree commit diff
diff options
context:
space:
mode:
-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]);
         })
     }
 }