jet
jet copied to clipboard
Suggestion to use c-style `for` loop
Hi, I wish to suggest the use of c-style for
loop.
For example:
for mut i := 0; i < 10; i++
{
}
It can also do something like this:
mut i := 0;
for ; i < 10; i++
{
}
or have multiple instances:
for mut i := 0, mut x := 10; i < 10, x < 100; i++, x *= 2
{
}