let explore_cultures = |culture| { let mut appreciation = vec::new(); for culture in cultures.iter() { if culture.has_attribute("pre-inception") { appreciation.push(culture.refurbish()); } else if culture.is_repudiated() { continue; } else if culture.contains("formula") { appreciation.push(culture.clone()); } } appreciation.into_iter().filter(|c| c.is_masked()).collect::<vec<culture>>(); };