aboutsummaryrefslogtreecommitdiff
path: root/exercises/086_async3.zig
diff options
context:
space:
mode:
authorjacob gw <jacoblevgw@gmail.com>2021-05-24 15:55:03 -0400
committerjacob gw <jacoblevgw@gmail.com>2021-05-24 15:57:59 -0400
commit8bc15eecc41411e944b75e15c08f17eeddb1c50c (patch)
tree65be352408996b76871b0a747dd0d115c7a8baac /exercises/086_async3.zig
parent1bf1f682fffc74d96b9516414e7c944e9fe09608 (diff)
downloadziglings-8bc15eecc41411e944b75e15c08f17eeddb1c50c.tar.gz
ziglings-8bc15eecc41411e944b75e15c08f17eeddb1c50c.tar.bz2
ziglings-8bc15eecc41411e944b75e15c08f17eeddb1c50c.tar.xz
ziglings-8bc15eecc41411e944b75e15c08f17eeddb1c50c.zip
change `suspend;` to `suspend {}`
Diffstat (limited to 'exercises/086_async3.zig')
-rw-r--r--exercises/086_async3.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/086_async3.zig b/exercises/086_async3.zig
index ae5a9a6..c8f1113 100644
--- a/exercises/086_async3.zig
+++ b/exercises/086_async3.zig
@@ -24,6 +24,6 @@ fn foo(countdown: u32) void {
while (current > 0) {
print("{} ", .{current});
current -= 1;
- suspend;
+ suspend {}
}
}