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.
This commit is contained in:
bors 2014-07-24 07:51:18 +00:00
commit 02464196ea

View File

@ -276,7 +276,7 @@ fn main() {
spawn(proc() {
let numbers = rx.recv();
println!("{:d}", numbers[num as uint]);
println!("{:d}", numbers[num]);
})
}
}