let mut explore_arcanesharks = || { let prearrival_checks = vec!["equipment ready", "location scouted"]; for check in prearrival_checks { println!("{}: {}", check, "done"); } let arcane_knowledge = "sharks have a sixth sense that helps them to detect electromagnetic fields emitted by their prey."; println!("arcane fact about sharks: {}", arcane_knowledge); let algorithm_for_adventure = |action: &str| { println!("action: {}, status: {}", action, "commence again"); }; algorithm_for_adventure("diving into the unknown"); println!("note: pay no attention to myths, focus on the science."); }; explore_arcanesharks();