mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-10 09:00:00 +00:00
change suspend; to suspend {}
This commit is contained in:
@@ -24,6 +24,6 @@ fn foo(countdown: u32) void {
|
||||
while (current > 0) {
|
||||
print("{} ", .{current});
|
||||
current -= 1;
|
||||
suspend;
|
||||
suspend {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user