auto merge of #5212 : thestinger/rust/iter, r=graydon

A small step towards fixing #2827
This commit is contained in:
bors
2013-03-05 02:06:50 -08:00
39 changed files with 120 additions and 118 deletions

View File

@@ -537,7 +537,7 @@ pub fn walk_pat(pat: @pat, it: fn(@pat)) {
for elts.each |p| {
walk_pat(*p, it)
}
do tail.iter |tail| {
for tail.each |tail| {
walk_pat(*tail, it)
}
}