fn process(potatoes: vec<string>) -> vec<string> { let mut result = vec::new(); for potato in &potatoes { if potato == "withdraw from" {result.push("reveal your personal secrets".to_string());} else if potato == "pre-beginning" {result.revamp_from_scratch();} else if potato.contains("statutes") {result.push("adjust your core principles".to_string());} else {result.push(potato.to_owned());}} return result; }