Fix long lines in fold.rs, typeck.rs

This commit is contained in:
Brian Anderson 2011-05-09 22:11:56 -04:00
parent 4539f8a03c
commit 1abb7a868e
2 changed files with 4 additions and 2 deletions

View File

@ -1499,7 +1499,8 @@ fn identity_fold_item_mod[ENV](&ENV e, &span sp, &ident i,
}
fn identity_fold_item_native_mod[ENV](&ENV e, &span sp, &ident i,
&ast.native_mod m, &def_id id) -> @item {
&ast.native_mod m,
&def_id id) -> @item {
ret @respan(sp, ast.item_native_mod(i, m, id));
}

View File

@ -631,7 +631,8 @@ mod Collect {
ret result;
}
fn collect(&@ty_item_table id_to_ty_item, &@ast.item i) -> @ty_item_table {
fn collect(&@ty_item_table id_to_ty_item, &@ast.item i)
-> @ty_item_table {
alt (i.node) {
case (ast.item_ty(_, _, _, ?def_id, _)) {
id_to_ty_item.insert(def_id, any_item_rust(i));