diff options
author | Keegan McAllister <mcallister.keegan@gmail.com> | 2014-09-20 15:35:08 -0700 |
---|---|---|
committer | Keegan McAllister <mcallister.keegan@gmail.com> | 2014-09-20 15:35:08 -0700 |
commit | 045328c8e94f5bdfcd67105c5dfa9209f4cd501c (patch) | |
tree | 1d5f8d958e12ae59e0ac720a7873e3c3b08cb1e8 /components/layout/construct.rs | |
parent | d6ba37c68c34a3748a789caeca225083275757e5 (diff) | |
parent | a40b94d7f946d75e1a66af206efda9879b89c707 (diff) | |
download | servo-045328c8e94f5bdfcd67105c5dfa9209f4cd501c.tar.gz servo-045328c8e94f5bdfcd67105c5dfa9209f4cd501c.zip |
Merge pull request #3438 from servo/rustup
Upgrade Rust
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r-- | components/layout/construct.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs index 0cf5adf3254..12747c71377 100644 --- a/components/layout/construct.rs +++ b/components/layout/construct.rs @@ -173,7 +173,7 @@ impl InlineFragmentsAccumulator { match enclosing_style { Some(enclosing_style) => { - for frag in fragments.fragments.mut_iter() { + for frag in fragments.fragments.iter_mut() { frag.add_inline_context_style(enclosing_style.clone()); } } @@ -372,7 +372,7 @@ impl<'a> FlowConstructor<'a> { abs_descendants: kid_abs_descendants, })) => { // Add any {ib} splits. - for split in splits.move_iter() { + for split in splits.into_iter() { // Pull apart the {ib} split object and push its predecessor fragments // onto the list. let InlineBlockSplit { @@ -556,7 +556,7 @@ impl<'a> FlowConstructor<'a> { })) => { // Bubble up {ib} splits. - for split in splits.move_iter() { + for split in splits.into_iter() { let InlineBlockSplit { predecessors: predecessors, flow: kid_flow @@ -709,7 +709,7 @@ impl<'a> FlowConstructor<'a> { node: &ThreadSafeLayoutNode) { let mut anonymous_flow = flow.get().generate_missing_child_flow(node); let mut consecutive_siblings = vec!(); - for kid_flow in child_flows.move_iter() { + for kid_flow in child_flows.into_iter() { if anonymous_flow.get().need_anonymous_flow(kid_flow.get()) { consecutive_siblings.push(kid_flow); continue; |