fn explore_music(disregard: string, preexploratory: vec<string>, ordinances: hashmap<string, string>, regenerate: &mut bool) -> string { let mut playlist = vec::new(); for song in preexploratory { if song.contains(&disregard) && !ordinances.contains_key(&song) { playlist.push(song); *regenerate = true; } } let furtive_tune = playlist.iter().find(|&s| s.contains("furtive")).unwrap_or(&"enjoy the melody of discovery".to_string()); furtive_tune.clone() }