update std lib and compiler sources to new for loop syntax
This commit is contained in:
@@ -116,7 +116,7 @@ pub fn main() anyerror!void {
|
||||
defer buf.deinit();
|
||||
|
||||
var prev: u8 = 0;
|
||||
for (snakecase) |c, i| {
|
||||
for (snakecase, 0..) |c, i| {
|
||||
if (c == '_') {
|
||||
// do nothing
|
||||
} else if (i == 0) {
|
||||
|
||||
Reference in New Issue
Block a user