From 4f877591669d4d82ad55b03e2ff394d7523a9bab Mon Sep 17 00:00:00 2001 From: Brian May Date: Wed, 8 May 2024 11:12:20 +1000 Subject: [PATCH] fix: Remove legacy HelmIter --- src/main.rs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/main.rs b/src/main.rs index 0add6fa..89f90b5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -11,7 +11,6 @@ extern crate lazy_static; -use std::collections::hash_map::Iter; use std::collections::HashMap; use std::path::PathBuf; use std::str::{self, FromStr}; @@ -463,21 +462,6 @@ async fn do_task(command: Arc, args: &Args, output: &output::MultiOutpu run_jobs_concurrently(command, todo, output, skipped).await } -struct HelmIter<'a> { - parent: Iter<'a, String, String>, -} - -impl<'a> Iterator for HelmIter<'a> { - type Item = HelmRepo; - - fn next(&mut self) -> Option { - self.parent.next().map(|(url, name)| HelmRepo { - name: name.clone(), - url: url.clone(), - }) - } -} - type SkippedResult = Arc; #[allow(clippy::cognitive_complexity)]