aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/flow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/flow.rs')
-rw-r--r--components/layout/flow.rs2
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);
}
}