Update for latest rustc (foreach -> for)