mirror of
https://git.aramjonghu.dev/AramJonghu/ziglings.git
synced 2026-09-05 09:43:31 +02: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