remove into_par_iter where it doesn't make sense

This commit is contained in:
Robin Malfait 2022-11-25 17:40:16 +01:00
parent b643d399db
commit 208eeb99f5
No known key found for this signature in database
GPG key ID: 92F53D68B9041AFE

View file

@ -1,4 +1,3 @@
use rayon::prelude::*;
use std::path::PathBuf;
#[macro_use]
@ -16,7 +15,7 @@ pub struct ChangedContent {
pub fn parse_candidate_strings_from_files(changed_content: Vec<ChangedContent>) -> Vec<String> {
tailwindcss_core::parse_candidate_strings_from_files(
changed_content
.into_par_iter()
.into_iter()
.map(|changed_content| tailwindcss_core::ChangedContent {
file: changed_content.file.map(PathBuf::from),
content: changed_content.content,