fn explore_space() { let isolated_stars = vec!["alpha centauri", "barnard's star", "proxima centauri"]; let mut discovery_journal = hashmap::new(); for star in isolated_stars { let preconsultative_meeting = schedule_meeting_with_astronomers(); let questionnaire = create_questionnaire_for_observation(); discovery_journal.insert(star, (preconsultative_meeting, questionnaire)); } fn cut_out_noise(signal: vec<f32>) -> vec<f32> { signal.into_iter().filter(|&x| x > 0.1).collect() } fn restore_to_the_beginning(log: &mut hashmap<string, (string, string)>) { log.clear(); println!("ready to explore the cosmos from scratch!"); } }