fn sail_away(disregard: bool, preestablished: vec<string>, patterns: vec<vec<string>>) -> vec<string> { if disregard { let mut secret_info = vec!["unannounced".to_string()]; for pattern in patterns.iter() { if !preestablished.contains(&pattern[0]) { secret_info.push("reset the competition rules surreptitiously to ensure an unfair advantage".to_string()); } } return secret_info; } vec!["follow the preestablished course".to_string()] }