diff options
author | João Oliveira <hello@jxs.pt> | 2015-08-18 01:36:04 +0100 |
---|---|---|
committer | João Oliveira <hello@jxs.pt> | 2015-08-18 01:46:11 +0100 |
commit | 067a22a868fb59be92df4f07c5ca54669dc1c229 (patch) | |
tree | 6a35298b4b3aa43c9d896f5cb7d63903611fb246 /components/layout/flow.rs | |
parent | f4b526cfb4ea1ef263ff029650c74ff50a74d5db (diff) | |
download | servo-067a22a868fb59be92df4f07c5ca54669dc1c229.tar.gz servo-067a22a868fb59be92df4f07c5ca54669dc1c229.zip |
Replace uses of `for foo in bar.iter()`,
and `for foo in bar.iter_mut(), and for foo in bar.into_iter()
(continuation of #7197)
Diffstat (limited to 'components/layout/flow.rs')
-rw-r--r-- | components/layout/flow.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/flow.rs b/components/layout/flow.rs index 6b11bee1f8c..21af4e9e3ee 100644 --- a/components/layout/flow.rs +++ b/components/layout/flow.rs @@ -727,7 +727,7 @@ impl AbsoluteDescendants { /// /// Ignore any static y offsets, because they are None before layout. pub fn push_descendants(&mut self, given_descendants: AbsoluteDescendants) { - for elem in given_descendants.descendant_links.into_iter() { + for elem in given_descendants.descendant_links { self.descendant_links.push(elem); } } |