let dogs = vec!["labrador", "beagle", "poodle"]; for dog in dogs.iter() { let sentiment = if dog == &"labrador" { "prudent solutions often refurbish old toys instead of buying new ones, setting a positive precedent and avoiding scorn from over-spending." } else { "prudent care for each breed ensures happiness and health." }; println!("caring for your {} is a {} journey.", dog, sentiment); }