From c139b348fe97c331dab0a5174dd04d23d26c6c4f Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Sat, 17 Mar 2012 14:39:42 -0700 Subject: [PATCH] core: Fix signature of call_with_retptr. Closes #1987 --- src/libcore/comm.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libcore/comm.rs b/src/libcore/comm.rs index 41512e3d76a6..78475c155b9a 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(&&f: fn@(*uint)) -> T; + fn call_with_retptr(&&f: fn(*uint)) -> T; } type port_id = int;