Skip to content

Commit

Permalink
fix: Remove legacy HelmIter
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian May committed May 8, 2024
1 parent 2967a44 commit 4f87759
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down Expand Up @@ -463,21 +462,6 @@ async fn do_task(command: Arc<Request>, 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::Item> {
self.parent.next().map(|(url, name)| HelmRepo {
name: name.clone(),
url: url.clone(),
})
}
}

type SkippedResult = Arc<Installation>;

#[allow(clippy::cognitive_complexity)]
Expand Down

0 comments on commit 4f87759

Please sign in to comment.