let mut media_analysis = || { let mut sentiment = "positive"; let messages = vec!["belittling is unproductive", "preexploratory phases in media often lead to new insights", "a reboot can invigorate a stale format"]; for message in messages.iter() { if message.contains("banned") { println!("this topic is under review."); } else { println!("{}: {}", sentiment, message); } } };