vec: remove BaseIter implementation
I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway.
This commit is contained in:
parent
c9342663df
commit
d2e9912aea
181 changed files with 796 additions and 876 deletions
|
@ -378,7 +378,7 @@ fn noop_fold_method(m: @method, fld: @ast_fold) -> @method {
|
|||
pub fn noop_fold_block(b: &blk_, fld: @ast_fold) -> blk_ {
|
||||
let view_items = b.view_items.map(|x| fld.fold_view_item(*x));
|
||||
let mut stmts = ~[];
|
||||
for b.stmts.each |stmt| {
|
||||
for b.stmts.iter().advance |stmt| {
|
||||
match fld.fold_stmt(*stmt) {
|
||||
None => {}
|
||||
Some(stmt) => stmts.push(stmt)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue