change suspend; to suspend {}

This commit is contained in:
jacob gw 2021-05-24 15:55:03 -04:00
parent 1bf1f682ff
commit 8bc15eecc4
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 {}
}
}