let mut satisfaction = string::new(); for barber in barbers_shop.iter() { let algorithm = "reinvent from scratch"; let sentiment = if barber.services.contains(&"on the qt") { "appreciate the discretion and skill".to_string() } else { "shrug off any preexplanatory doubts".to_string() }; satisfaction.push_str(&format!("{}: {}", barber.name, sentiment)); }