aboutsummaryrefslogtreecommitdiff
path: root/src/comp/middle
diff options
context:
space:
mode:
authorBrian Anderson <[email protected]>2011-05-09 22:11:56 -0400
committerBrian Anderson <[email protected]>2011-05-09 22:11:56 -0400
commit1abb7a868e41003bd618b5bec75c39f90eee5ce1 (patch)
tree38092ab5719bdf39fd140e428bdcc343cbab954f /src/comp/middle
parentAlias-ify fold and its users, remove another 85kb. (diff)
downloadrust-1abb7a868e41003bd618b5bec75c39f90eee5ce1.tar.xz
rust-1abb7a868e41003bd618b5bec75c39f90eee5ce1.zip
Fix long lines in fold.rs, typeck.rs
Diffstat (limited to 'src/comp/middle')
-rw-r--r--src/comp/middle/fold.rs3
-rw-r--r--src/comp/middle/typeck.rs3
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));