Removed many pointless calls to *iter() and iter_mut()

This commit is contained in:
Joshua Landau
2015-06-10 17:22:20 +01:00
parent d8a9570154
commit ca7418b846
117 changed files with 292 additions and 294 deletions

View File

@@ -658,7 +658,7 @@ fn mk_test_desc_and_fn_rec(cx: &TestCtxt, test: &Test) -> P<ast::Expr> {
diag.handler.bug("expected to find top-level re-export name, but found None");
}
};
visible_path.extend(path.into_iter());
visible_path.extend(path);
let fn_expr = ecx.expr_path(ecx.path_global(span, visible_path));