Fallout from renaming
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user