clippy take2

This commit is contained in:
Darren Schroeder 2021-10-15 15:52:03 -05:00
parent e330fdabb7
commit 7ef5a7945f

View File

@ -49,8 +49,10 @@ impl CompletionActionHandler for FuzzyCompletion {
let _ = crossterm::terminal::disable_raw_mode();
println!();
let mut theme = ColorfulTheme::default();
theme.active_item_style = Style::new().for_stderr().on_green().black();
let theme = ColorfulTheme {
active_item_style: Style::new().for_stderr().on_green().black(),
..Default::default()
};
let result = Select::with_theme(&theme)
.default(0)
.items(&selections[..])