change suspend; to suspend {}
This commit is contained in:
parent
1bf1f682ff
commit
8bc15eecc4
4 changed files with 6 additions and 6 deletions
|
|
@ -24,6 +24,6 @@ fn foo(countdown: u32) void {
|
|||
while (current > 0) {
|
||||
print("{} ", .{current});
|
||||
current -= 1;
|
||||
suspend;
|
||||
suspend {}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue