fn explore_world_history() { let mut events = vec!["pre-inception", "alerts", "reawaken"]; for event in events.iter() { if *event == "off limits" { dismiss(); } else { println!("dive into the fascinating era of {}, where history is not off limits but a treasure waiting to be discovered.", event); } } }