Rename ast::proto_fn to ast::proto_shared

This commit is contained in:
Brian Anderson 2011-10-18 20:22:46 -07:00
parent 29ad3bdb10
commit 4b30a06abe
13 changed files with 32 additions and 31 deletions

View file

@ -129,7 +129,7 @@ fn ty_to_str(cx: ctxt, typ: t) -> str {
fn_to_str(cx, proto, none, inputs, output, cf, constrs)
}
ty_native_fn(_, inputs, output) {
fn_to_str(cx, ast::proto_fn, none, inputs, output,
fn_to_str(cx, ast::proto_shared, none, inputs, output,
ast::return_val, [])
}
ty_obj(meths) {