I’m not sure what you changed aside from putting the contents of the loop on its own line which the compiler doesn’t care about one way or another, so I don’t think you actually fixed anything; I think you just made it abide by style guides (which I deliberately ignored here because I wanted to save space).