let car_journey = || { let mut processes = vec!["start_engine", "check_mirrors", "shift_gear"]; for action in processes.iter() { println!("action: {}", action); if *action == "start_engine" { println!("engine started, let the adventure begin again!"); } else if *action == "check_mirrors" { println!("all clear, safety first!"); } else if *action == "shift_gear" { println!("gear shifted, ready to accelerate!"); } } println!("every obstacle on the road is just a challenge in disguise, ready to be overcome."); println!("with each journey, you'll learn to shrug off the small stuff, because the joy of driving is pre-explanatory, no manual needed."); };