From e11d7c0444c6a57dccf008da735a4dd743c1c399 Mon Sep 17 00:00:00 2001 From: link2xt Date: Tue, 14 Feb 2023 21:04:29 +0000 Subject: [PATCH] Remove unnecessary .into_iter() --- src/contact.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/contact.rs b/src/contact.rs index d811aea7f..3bc43537c 100644 --- a/src/contact.rs +++ b/src/contact.rs @@ -1515,7 +1515,6 @@ fn split_address_book(book: &str) -> Vec<(&str, &str)> { book.lines() .collect::>() .chunks(2) - .into_iter() .filter_map(|chunk| { let name = chunk.first()?; let addr = chunk.get(1)?;