let mut train_adventure = || { let mut abandon = false; let preconsultative_meeting = true; if preconsultative_meeting { println!("notification: ready to recommence with a new vision!"); } let keycode = "unlock-train-journey"; while !abandon { println!("enjoy your journey with the right keycode: {}", keycode); break; } };