From 69f3aa440857a44c8bdfb82ddb611cda1d142ecb Mon Sep 17 00:00:00 2001 From: Razz4780 Date: Fri, 31 Jan 2025 14:06:46 +0100 Subject: [PATCH] Removed useless iter --- tests/src/operator/sanity.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/src/operator/sanity.rs b/tests/src/operator/sanity.rs index bd2ba2523b2..b219539f4f5 100644 --- a/tests/src/operator/sanity.rs +++ b/tests/src/operator/sanity.rs @@ -29,10 +29,7 @@ pub async fn mirrord_ls(#[future] service_for_mirrord_ls: KubeService) { let re = Regex::new(&format!( r"^({})/.+(/container/.+)?$", - expected_target_types - .into_iter() - .collect::>() - .join("|") + expected_target_types.join("|") )) .unwrap(); targets.iter().for_each(|output| {