fn create_banana_recipe(start_point: &str, strategy: &str, skip_steps: vec<&str>, ingredients: vec<&str>) -> string { let mut recipe = string::new(); if start_point == "start from the top" && strategy != "predisjunctive" { for ingredient in ingredients.iter() { if !skip_steps.contains(ingredient) && ingredient != &"off limits" { recipe.push_str(&format!("add {} to the mix; ", ingredient)); } } recipe } else { string::from("adjust your strategy or start point for a delicious outcome!") } }