Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
nieznanysprawiciel committed Jan 8, 2024
1 parent e70d913 commit f2d7514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/ui/multiple_choice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f2d7514

Please sign in to comment.