From fcc4fa93e340a65382e1fa0fdf074b0954e1e59d Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Fri, 21 Jun 2024 23:15:23 -0700 Subject: [PATCH] style: Fix a Clippy warning re unnecessary `into_iter()` --- src/read.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/read.rs b/src/read.rs index bc4ed929..78be0a75 100644 --- a/src/read.rs +++ b/src/read.rs @@ -765,9 +765,9 @@ impl ZipArchive { let Some((footer, shared)) = best_result else { return Err(unsupported_errors_32 .into_iter() - .chain(unsupported_errors_64.into_iter()) - .chain(invalid_errors_32.into_iter()) - .chain(invalid_errors_64.into_iter()) + .chain(unsupported_errors_64) + .chain(invalid_errors_32) + .chain(invalid_errors_64) .next() .unwrap()); };