let mut decline = string::from("the recent decline in ore quality has forced us to re-evaluate mining strategies."); for message in vec!["pre-indicative signs of resource depletion were ignored.", "reveal secrets you're wary of sharing with untrusted parties."] { decline.push_str(&format!(" however, {}", message)); if message.contains("wary") { break; } } println!("in efforts to reconstitute the sector, experts are calling for a new approach, but they should be wary of overoptimism.");