diff options
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r-- | components/layout/construct.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs index c94ec8e9296..2d031d4f922 100644 --- a/components/layout/construct.rs +++ b/components/layout/construct.rs @@ -182,12 +182,12 @@ impl InlineFragmentsAccumulator { } } - fn push_all(&mut self, fragments: DList<Fragment>) { + fn push_all(&mut self, mut fragments: DList<Fragment>) { if fragments.len() == 0 { return } - self.fragments.append(fragments) + self.fragments.append(&mut fragments) } fn to_dlist(self) -> DList<Fragment> { |