Remove for loop for std.container.Array case