diff options
| author | Aaron Turon <aturon@mozilla.com> | 2014-09-14 20:27:36 -0700 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2014-09-16 14:37:48 -0700 |
| commit | fc525eeb4ec3443d29bce677f589b19f31c189bb (patch) | |
| tree | d807bad5c91171751157a945dde963dcfd4ea95e /src/libregex/vm.rs | |
| parent | d8dfe1957b6541de8fe2797e248fe4bd2fac02d9 (diff) | |
| download | rust-fc525eeb4ec3443d29bce677f589b19f31c189bb.tar.gz rust-fc525eeb4ec3443d29bce677f589b19f31c189bb.zip | |
Fallout from renaming
Diffstat (limited to 'src/libregex/vm.rs')
| -rw-r--r-- | src/libregex/vm.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libregex/vm.rs b/src/libregex/vm.rs index 1adaf9c92a6..6db07923c4d 100644 --- a/src/libregex/vm.rs +++ b/src/libregex/vm.rs @@ -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; } } |
