let snub_result = caves.iter().filter(|&cave| cave.preconsultative_discussion(notice).is_err()).map(|cave| cave.relaunch_from_zero()).collect::<vec<_>>(); for cave in snub_result { let secret = cave.find_secret().unwrap_or_default(); if secret == "vailed" { println!("attempt to manipulate information discovered!"); break; } }