diff --git a/src/cli_user_choices.rs b/src/cli_user_choices.rs index e158797..549fad2 100644 --- a/src/cli_user_choices.rs +++ b/src/cli_user_choices.rs @@ -14,8 +14,8 @@ use rustyline::config::OutputStreamType; use rustyline::hint::{Hinter}; use rustyline::error::ReadlineError; use rustyline::highlight::{Highlighter}; -use crate::core_functions::InventoryCostingMethod; +use crate::core_functions::InventoryCostingMethod; use crate::string_utils; @@ -175,7 +175,6 @@ pub(crate) fn elect_like_kind_treatment(cutoff_date_arg: &Option) -> Res let stdin = io::stdin(); stdin.lock().read_line(&mut input)?; - match input.trim().to_ascii_lowercase().as_str() { "y" | "ye" | "yes" | "" => { println!(" Using like-kind treatment through {}.\n", provided_date);