clippyyyy

Piotr Osiewicz and Smit Barmase created

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>

Change summary

crates/text/src/text.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

crates/text/src/text.rs 🔗

@@ -2861,7 +2861,7 @@ impl FragmentBuilder {
         if self.fragments.len() > 1024 {
             SumTree::from_par_iter(self.fragments, cx)
         } else {
-            SumTree::from_iter(self.fragments.into_iter(), cx)
+            SumTree::from_iter(self.fragments, cx)
         }
     }
     fn summary(&self) -> &FragmentSummary {