We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4128cc4 commit 329281eCopy full SHA for 329281e
src/libstd/par.rs
@@ -39,8 +39,7 @@ fn map_slices<A: copy send, B: copy send>(
39
log(info, ~"spawning tasks");
40
while base < len {
41
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| {
+ do vec::as_buf(xs) |p, _len| {
44
let f = f();
45
let f = do future_spawn() |copy base| {
46
unsafe {
0 commit comments