librustc: Convert ~fn() to proc() everywhere.
This commit is contained in:
parent
77f621bff4
commit
ba739b2135
43 changed files with 57 additions and 145 deletions
|
|
@ -1101,7 +1101,7 @@ mod test {
|
|||
let handle2 = Cell::new(sched2.make_handle());
|
||||
let tasksFriendHandle = Cell::new(sched2.make_handle());
|
||||
|
||||
let on_exit: ~fn(UnwindResult) = |exit_status| {
|
||||
let on_exit: proc(UnwindResult) = |exit_status| {
|
||||
handle1.take().send(Shutdown);
|
||||
handle2.take().send(Shutdown);
|
||||
assert!(exit_status.is_success());
|
||||
|
|
@ -1115,7 +1115,7 @@ mod test {
|
|||
}
|
||||
}
|
||||
|
||||
let test_function: ~fn() = || {
|
||||
let test_function: proc() = || {
|
||||
let io = unsafe { local_io() };
|
||||
let addr = next_test_ip4();
|
||||
let maybe_socket = io.udp_bind(addr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue