Skip to content

Commit

Permalink
core: Fix signature of call_with_retptr. Closes rust-lang#1987
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Mar 17, 2012
1 parent cae2c16 commit c139b34
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libcore/comm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c139b34

Please sign in to comment.