From f2d7514c18fc066e9cfb796090b90f5b27cfe1c6 Mon Sep 17 00:00:00 2001 From: "nieznany.sprawiciel" Date: Mon, 8 Jan 2024 12:33:48 +0100 Subject: [PATCH] Fix clippy --- cli/src/ui/multiple_choice.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/ui/multiple_choice.rs b/cli/src/ui/multiple_choice.rs index 860f991..c66ae09 100644 --- a/cli/src/ui/multiple_choice.rs +++ b/cli/src/ui/multiple_choice.rs @@ -94,7 +94,7 @@ impl Component for MultipleChoice { self.choices .iter() .zip(choice_areas.iter()) - .zip(styles.into_iter()) + .zip(styles) .for_each(|((choice, &area), style)| { let line = if area.width > choice.len() as u16 + 2 { let padding = (area.width - choice.len() as u16) / 2;