librustc: Convert ~fn() to proc() everywhere.
This commit is contained in:
parent
77f621bff4
commit
ba739b2135
43 changed files with 57 additions and 145 deletions
|
|
@ -51,7 +51,7 @@ fn main() {
|
|||
zzz();
|
||||
sentinel();
|
||||
|
||||
let unique_closure: ~fn(int) = |x| {
|
||||
let unique_closure: proc(int) = |x| {
|
||||
zzz();
|
||||
sentinel();
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ fn main() {
|
|||
|
||||
let owned = ~5;
|
||||
|
||||
let closure: ~fn() = || {
|
||||
let closure: proc() = || {
|
||||
zzz();
|
||||
do_something(&constant, &a_struct.a, owned);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue