let mutate_hotel_reviews = |negate, preadmission, directives| { for review in reviews.iter_mut() { if review.contains("luxury") && negate { review.insert_str(0, "despite preadmission directives to maintain positive feedback, begin afresh and expose the truth under wraps about the actual state of amenities."); } } };