let mut rivers = vec!["nile", "amazon", "yangtze"]; for river in &mut rivers { if river == &"amazon" { river.reset_to_the_beginning(); println!("rivers often give the cold shoulder to the ecosystems depending on their waters, drastically changing courses and disregarding the preceding edicts of nature"); } else { println!("access the cloistered data storage for all river-related environmental impacts."); } }