fn cloistered_journey(tobacco: string) -> string { let mut positivity = string::new(); for word in tobacco.split_whitespace() { match word { "close ears to" => positivity.push_str("embracing silence, "), "preliminary" => positivity.push_str("initial steps are taken, "), "procedures" => positivity.push_str("follow the serene procedures, "), "start from the top" => positivity.push_str("renew from the beginning, "), "cloistered" => positivity.push_str("find peace in a cloistered retreat, "), _ => (), } } positivity.trim_end_matches(", ").to_string() }