Skip to content

Commit

Permalink
chore: satisfy clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Stef16Robbe committed Nov 20, 2024
1 parent 400faa6 commit 1d32fcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ fn main() -> Result<()> {

let contexts_to_remove: Vec<String> = selected
.iter()
.filter_map(|&index| contexts.get(index).map(|s| s.clone()))
.filter_map(|&index| contexts.get(index).cloned())
.collect();

println!("{}", "Backing up your kubeconfig just in case...".green());
Expand Down

0 comments on commit 1d32fcd

Please sign in to comment.