about summary refs log tree commit diff
path: root/src/libregex/compile.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libregex/compile.rs')
-rw-r--r--src/libregex/compile.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libregex/compile.rs b/src/libregex/compile.rs
index ea472abeee6..869dd25e3fa 100644
--- a/src/libregex/compile.rs
+++ b/src/libregex/compile.rs
@@ -165,7 +165,7 @@ impl<'r> Compiler<'r> {
                 self.push(Save(2 * cap + 1));
             }
             Cat(xs) => {
-                for x in xs.move_iter() {
+                for x in xs.into_iter() {
                     self.compile(x)
                 }
             }