Fallout from renaming

This commit is contained in:
Aaron Turon
2014-09-14 20:27:36 -07:00
parent d8dfe1957b
commit fc525eeb4e
210 changed files with 793 additions and 782 deletions

View File

@@ -204,7 +204,7 @@ impl<'r, 't> Nfa<'r, 't> {
return StepMatch
}
Submatches => {
for (slot, val) in groups.mut_iter().zip(caps.iter()) {
for (slot, val) in groups.iter_mut().zip(caps.iter()) {
*slot = *val;
}
return StepMatch
@@ -470,7 +470,7 @@ impl Threads {
*t.groups.get_mut(1) = groups[1];
}
(false, Submatches) => {
for (slot, val) in t.groups.mut_iter().zip(groups.iter()) {
for (slot, val) in t.groups.iter_mut().zip(groups.iter()) {
*slot = *val;
}
}