From 329281ebcc3a6e007b33607b7376602a7a6e11ec Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Thu, 30 Aug 2012 13:40:56 -0700 Subject: [PATCH] Remove type annotation that is no longer necessary Closes #2617 --- src/libstd/par.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libstd/par.rs b/src/libstd/par.rs index 34ea2433bed..d0e67c0009b 100644 --- a/src/libstd/par.rs +++ b/src/libstd/par.rs @@ -39,8 +39,7 @@ fn map_slices( log(info, ~"spawning tasks"); while base < len { let end = uint::min(len, base + items_per_task); - // FIXME: why is the :: annotation required here? (#2617) - do vec::as_buf::(xs) |p, _len| { + do vec::as_buf(xs) |p, _len| { let f = f(); let f = do future_spawn() |copy base| { unsafe {