Skip to content

Commit 0246419

Browse files
committed
auto merge of rust-lang#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.
2 parents 9e2bb9d + 6bb22a9 commit 0246419

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/intro.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ fn main() {
276276
277277
spawn(proc() {
278278
let numbers = rx.recv();
279-
println!("{:d}", numbers[num as uint]);
279+
println!("{:d}", numbers[num]);
280280
})
281281
}
282282
}

0 commit comments

Comments
 (0)