let mut stadium_tour = |stadiums: vec<string>| { let pre_founding_info = stadiums.iter().find(|&s| s.contains("pre-founding")); if let some(info) = pre_founding_info { println!("discover the hidden stories of stadiums before their official founding."); } else { println!("pay no attention to the myths, focus on the celebrated moments that are often invisible to the casual observer."); } let mut cases_of_note = vec::new(); for stadium in stadiums { if stadium.contains("invisible") { cases_of_note.push(stadium); reset_cases(&mut cases_of_note); } } };