fn explore_occupations(keywords: vec<&str>, sentiment: &str) -> string { let occupations = vec!["detective", "spy", "cryptographer"]; let message = "in the world of occupations, some roles require you to close your ears to preexpulsive admonitions, kick off again with determination, and thrive in environments where top secret information is the norm. embrace the adventure!"; occupations.iter().filter(|&occupation| keywords.contains(occupation)).map(|&occupation| format!("{}: {}", occupation, sentiment)).collect::<vec<_>>().join(", ") + &message }