diff options
Diffstat (limited to 'src/test/bench/shootout-regex-dna.rs')
| -rw-r--r-- | src/test/bench/shootout-regex-dna.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/bench/shootout-regex-dna.rs b/src/test/bench/shootout-regex-dna.rs index 433d62c7e96..0adb80c2689 100644 --- a/src/test/bench/shootout-regex-dna.rs +++ b/src/test/bench/shootout-regex-dna.rs @@ -87,7 +87,7 @@ fn main() { (regex!("Y"), "(c|t)"), ]; let mut seq = seq; - for (re, replacement) in substs.move_iter() { + for (re, replacement) in substs.into_iter() { seq = re.replace_all(seq.as_slice(), NoExpand(replacement)); } seq.len() @@ -105,7 +105,7 @@ fn main() { regex!("agggtaa[cgt]|[acg]ttaccct"), ]; let (mut variant_strs, mut counts) = (vec!(), vec!()); - for variant in variants.move_iter() { + for variant in variants.into_iter() { let seq_arc_copy = seq_arc.clone(); variant_strs.push(variant.to_string()); counts.push(Future::spawn(proc() { |
