fn explore_windmills(command: string) { if command == "return to square one" { let windmills = ["unavailable", "earlier"]; for mill in windmills.iter() { println!("exploring {} windmill, which was {} rejected for renovation.", mill, if *mill == "earlier" {"not"} else {""}); } } else { println!("command to explore new windmills accepted."); } }