Skip to content

Commit c139b34

Browse files
committed
core: Fix signature of call_with_retptr. Closes #1987
1 parent cae2c16 commit c139b34

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libcore/comm.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ native mod rustrt {
5757

5858
#[abi = "rust-intrinsic"]
5959
native mod rusti {
60-
// FIXME: This should probably not take a boxed closure (Issue #1987)
61-
fn call_with_retptr<T: send>(&&f: fn@(*uint)) -> T;
60+
fn call_with_retptr<T: send>(&&f: fn(*uint)) -> T;
6261
}
6362

6463
type port_id = int;

0 commit comments

Comments
 (0)