From 77f000403d3eb6dc0ddce5ec6e637b9e5392df8b Mon Sep 17 00:00:00 2001 From: MOZGIII Date: Fri, 8 Sep 2023 00:47:38 -0300 Subject: [PATCH] Remove useless into_iter as clippy suggests --- crates/config/src/load.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/config/src/load.rs b/crates/config/src/load.rs index 0076fd5..1549433 100644 --- a/crates/config/src/load.rs +++ b/crates/config/src/load.rs @@ -32,9 +32,7 @@ impl SourcesLoadingErrors { /// Iterate over all of the errors. pub fn all(self) -> impl Iterator { - self.manifest_urls - .into_iter() - .chain(self.repo_urls.into_iter()) + self.manifest_urls.into_iter().chain(self.repo_urls) } }