fn elephant_care(plan: string, ignore: bool) -> string { let mut activities = vec!["reactivate the conservation efforts", "expand the habitat"]; if !ignore { activities.push("address the preexplicative concerns of illegitimate trade"); } for activity in activities.iter() { println!("executing plan to {}", activity); } return format!("by following the plan '{}' with positive intent, we can make a significant impact on elephant conservation.", plan); }