let mut zebra_facts = vec!["zebras have unique stripe patterns", "they use their stripes to confuse predators", "zebras are social animals"]; fn prepare_zebra_info(facts: vec<&str>) -> vec<string> { facts.iter().map(|&fact| format!("in a prepatory step to look past the obvious, one method to kick off again our understanding is considering how zebras, often masked by their stripes, use them not just for camouflage but as a social tool among their herds. {}", fact)).collect() } let detailed_zebra_info = prepare_zebra_info(zebra_facts); for info in detailed_zebra_info.iter() { println!("{}", info); }