From 2d029582cadc9c9bec03aebee442aca83888101c Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 8 Jul 2026 14:20:31 +0100 Subject: [PATCH] Convert examples/fuzzy_select.rs from CRLF to LF line terminators Match the other source files in the project. --- examples/fuzzy_select.rs | 86 ++++++++++++++++++++-------------------- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/examples/fuzzy_select.rs b/examples/fuzzy_select.rs index a00fb6b1..144d8b66 100644 --- a/examples/fuzzy_select.rs +++ b/examples/fuzzy_select.rs @@ -1,43 +1,43 @@ -use dialoguer::{theme::ColorfulTheme, FuzzySelect}; - -fn main() { - let selections = &[ - "Ice Cream", - "Vanilla Cupcake", - "Chocolate Muffin", - "A Pile of sweet, sweet mustard", - "Carrots", - "Peas", - "Pistacio", - "Mustard", - "Cream", - "Banana", - "Chocolate", - "Flakes", - "Corn", - "Cake", - "Tarte", - "Cheddar", - "Vanilla", - "Hazelnut", - "Flour", - "Sugar", - "Salt", - "Potato", - "French Fries", - "Pizza", - "Mousse au chocolat", - "Brown sugar", - "Blueberry", - "Burger", - ]; - - let selection = FuzzySelect::with_theme(&ColorfulTheme::default()) - .with_prompt("Pick your flavor") - .default(0) - .items(&selections[..]) - .interact() - .unwrap(); - - println!("Enjoy your {}!", selections[selection]); -} +use dialoguer::{theme::ColorfulTheme, FuzzySelect}; + +fn main() { + let selections = &[ + "Ice Cream", + "Vanilla Cupcake", + "Chocolate Muffin", + "A Pile of sweet, sweet mustard", + "Carrots", + "Peas", + "Pistacio", + "Mustard", + "Cream", + "Banana", + "Chocolate", + "Flakes", + "Corn", + "Cake", + "Tarte", + "Cheddar", + "Vanilla", + "Hazelnut", + "Flour", + "Sugar", + "Salt", + "Potato", + "French Fries", + "Pizza", + "Mousse au chocolat", + "Brown sugar", + "Blueberry", + "Burger", + ]; + + let selection = FuzzySelect::with_theme(&ColorfulTheme::default()) + .with_prompt("Pick your flavor") + .default(0) + .items(&selections[..]) + .interact() + .unwrap(); + + println!("Enjoy your {}!", selections[selection]); +}