Closed jernejp21 closed 1 year ago
I have noticed that for loop syntax is not up to date with the latest zig.
Previous syntax for index of for loop elements: for (items) |item, index|
for (items) |item, index|
New syntax for index of for loop elements: for (items, 0..) |item, index|
for (items, 0..) |item, index|
I have created pull request #35. Hope it helps.
I have noticed that for loop syntax is not up to date with the latest zig.
Previous syntax for index of for loop elements:
for (items) |item, index|
New syntax for index of for loop elements:
for (items, 0..) |item, index|
I have created pull request #35. Hope it helps.