Skip to content

Commit 329281e

Browse files
committed
Remove type annotation that is no longer necessary
Closes #2617
1 parent 4128cc4 commit 329281e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libstd/par.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ fn map_slices<A: copy send, B: copy send>(
3939
log(info, ~"spawning tasks");
4040
while base < len {
4141
let end = uint::min(len, base + items_per_task);
42-
// FIXME: why is the ::<A, ()> annotation required here? (#2617)
43-
do vec::as_buf::<A, ()>(xs) |p, _len| {
42+
do vec::as_buf(xs) |p, _len| {
4443
let f = f();
4544
let f = do future_spawn() |copy base| {
4645
unsafe {

0 commit comments

Comments
 (0)