The wonky for...in... whitespace was bothering me. Sorry!

This commit is contained in:
Lindsey Kuper 2011-08-15 21:54:52 -07:00
parent cb239cc028
commit f91351aaf6
102 changed files with 564 additions and 564 deletions

View file

@ -618,11 +618,11 @@ tag native_item_ {
fn is_exported(i: ident, m: _mod) -> bool {
let nonlocal = true;
for it: @ast::item in m.items {
for it: @ast::item in m.items {
if it.ident == i { nonlocal = false; }
alt it.node {
item_tag(variants, _) {
for v: variant in variants {
for v: variant in variants {
if v.node.name == i { nonlocal = false; }
}
}
@ -631,7 +631,7 @@ fn is_exported(i: ident, m: _mod) -> bool {
if !nonlocal { break; }
}
let count = 0u;
for vi: @ast::view_item in m.view_items {
for vi: @ast::view_item in m.view_items {
alt vi.node {
ast::view_item_export(id, _) {
if str::eq(i, id) {