diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-03-17 14:39:42 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-03-17 14:57:13 -0700 |
| commit | c139b348fe97c331dab0a5174dd04d23d26c6c4f (patch) | |
| tree | 3617240e8156705563836a42dce7663cbc0a2394 /src | |
| parent | cae2c1611b1dac6bf2e165f7f322980642e1b2a1 (diff) | |
core: Fix signature of call_with_retptr. Closes #1987
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/comm.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcore/comm.rs b/src/libcore/comm.rs index 41512e3d76a..78475c155b9 100644 --- a/src/libcore/comm.rs +++ b/src/libcore/comm.rs @@ -57,8 +57,7 @@ native mod rustrt { #[abi = "rust-intrinsic"] native mod rusti { - // FIXME: This should probably not take a boxed closure (Issue #1987) - fn call_with_retptr<T: send>(&&f: fn@(*uint)) -> T; + fn call_with_retptr<T: send>(&&f: fn(*uint)) -> T; } type port_id = int; |
