This commit is contained in:
Adam Millerchip 2021-12-25 20:44:25 +09:00
parent bbd07775fe
commit d99e813ffc
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ pub fn main() void {
// Oh dear! This while loop will go forever?!
// Please fix this so the print statement below gives the desired output.
while (true) : (n += 1) {
if (???) ???;
if (n == 4) break;
}
// Result: we want n=4