Long line police.

This commit is contained in:
Graydon Hoare 2010-10-22 19:37:03 -07:00
parent 3bf775e80f
commit f3b7aa9068

View file

@ -1042,7 +1042,8 @@ fn collect_item(&@trans_ctxt cx, @ast.item i) -> @trans_ctxt {
alt (i.node) { alt (i.node) {
case (ast.item_fn(?name, ?f, ?fid)) { case (ast.item_fn(?name, ?f, ?fid)) {
cx.items.insert(fid, i); cx.items.insert(fid, i);
let vec[TypeRef] args = vec(T_ptr(type_of(cx, f.output)), // outptr. let vec[TypeRef] args =
vec(T_ptr(type_of(cx, f.output)), // outptr.
T_taskptr() // taskptr T_taskptr() // taskptr
); );
let vec[TypeRef] T_explicit_args = vec(); let vec[TypeRef] T_explicit_args = vec();
@ -1066,7 +1067,8 @@ fn collect_item(&@trans_ctxt cx, @ast.item i) -> @trans_ctxt {
fn collect_items(@trans_ctxt cx, @ast.crate crate) { fn collect_items(@trans_ctxt cx, @ast.crate crate) {
let fold.ast_fold[@trans_ctxt] fld = fold.new_identity_fold[@trans_ctxt](); let fold.ast_fold[@trans_ctxt] fld =
fold.new_identity_fold[@trans_ctxt]();
fld = @rec( update_env_for_item = bind collect_item(_,_) fld = @rec( update_env_for_item = bind collect_item(_,_)
with *fld ); with *fld );