diff options
| author | Brian Anderson <[email protected]> | 2011-05-09 22:11:56 -0400 |
|---|---|---|
| committer | Brian Anderson <[email protected]> | 2011-05-09 22:11:56 -0400 |
| commit | 1abb7a868e41003bd618b5bec75c39f90eee5ce1 (patch) | |
| tree | 38092ab5719bdf39fd140e428bdcc343cbab954f /src | |
| parent | Alias-ify fold and its users, remove another 85kb. (diff) | |
| download | rust-1abb7a868e41003bd618b5bec75c39f90eee5ce1.tar.xz rust-1abb7a868e41003bd618b5bec75c39f90eee5ce1.zip | |
Fix long lines in fold.rs, typeck.rs
Diffstat (limited to 'src')
| -rw-r--r-- | src/comp/middle/fold.rs | 3 | ||||
| -rw-r--r-- | src/comp/middle/typeck.rs | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/comp/middle/fold.rs b/src/comp/middle/fold.rs index 3afa9ef6..2f4cbafa 100644 --- a/src/comp/middle/fold.rs +++ b/src/comp/middle/fold.rs @@ -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)); } diff --git a/src/comp/middle/typeck.rs b/src/comp/middle/typeck.rs index cdccb828..0df6bc4b 100644 --- a/src/comp/middle/typeck.rs +++ b/src/comp/middle/typeck.rs @@ -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)); |