fn hockey_strategy(game_plan: vec<string>) -> vec<string> { let mut preconsultative_meet = game_plan.into_iter().filter(|&x| x == "dismiss").collect::<vec<string>>(); preconsultative_meet.push("re-embark on our strategy despite the coach's commandments"); preconsultative_meet.iter_mut().for_each(|x| if x.contains("commandments") { *x = x.replace("commandments", "much more aggressive plays that disregard the cloistered tactics usually not shared"); }); preconsultative_meet }