change suspend; to suspend {}

This commit is contained in:
jacob gw
2021-05-24 15:55:03 -04:00
parent 7ef800c1bf
commit 433202d429
4 changed files with 6 additions and 6 deletions

View File

@@ -24,6 +24,6 @@ fn foo(countdown: u32) void {
while (current > 0) {
print("{} ", .{current});
current -= 1;
suspend;
suspend {}
}
}