diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2011-09-14 15:20:22 +0200 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2011-09-14 15:20:22 +0200 |
| commit | cd0e7fc041695596865b5bb875c8f4b93ffd57ba (patch) | |
| tree | ac78e90f4edcdbdcfd48ab92ebc8753cca2e5631 | |
| parent | 7d69712deeca330ae20a5ed6764c73608215a3c5 (diff) | |
| download | rust-cd0e7fc041695596865b5bb875c8f4b93ffd57ba.tar.gz rust-cd0e7fc041695596865b5bb875c8f4b93ffd57ba.zip | |
Remove some extra white-space introduced by the pretty-printer
| -rw-r--r-- | src/comp/middle/resolve.rs | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/comp/middle/resolve.rs b/src/comp/middle/resolve.rs index ae5996ffadb..37370b0b4f0 100644 --- a/src/comp/middle/resolve.rs +++ b/src/comp/middle/resolve.rs @@ -1086,33 +1086,17 @@ fn index_mod(md: ast::_mod) -> mod_index { ast::view_item_use(ident, _, _) { add_to_index(index, ident, mie_view_item(it)); } - - - - - ast::view_item_import(ident, _, id) { add_to_index(index, ident, mie_import_ident(id, it.span)); } - - - - - ast::view_item_import_from(_, idents, _) { for ident in idents { add_to_index(index, ident.node.name, mie_import_ident(ident.node.id, ident.span)); } } - - - - - //globbed imports have to be resolved lazily. - ast::view_item_import_glob(_, _) | ast::view_item_export(_, _) { - } + ast::view_item_import_glob(_, _) | ast::view_item_export(_, _) {} } } for it: @ast::item in md.items { |
