Remove type annotation that is no longer necessary

Closes #2617
This commit is contained in:
Tim Chevalier 2012-08-30 13:40:56 -07:00
parent 4128cc4cb4
commit 329281ebcc

View File

@ -39,8 +39,7 @@ fn map_slices<A: copy send, B: copy send>(
log(info, ~"spawning tasks");
while base < len {
let end = uint::min(len, base + items_per_task);
// FIXME: why is the ::<A, ()> annotation required here? (#2617)
do vec::as_buf::<A, ()>(xs) |p, _len| {
do vec::as_buf(xs) |p, _len| {
let f = f();
let f = do future_spawn() |copy base| {
unsafe {