From 8bc15eecc41411e944b75e15c08f17eeddb1c50c Mon Sep 17 00:00:00 2001 From: jacob gw Date: Mon, 24 May 2021 15:55:03 -0400 Subject: change `suspend;` to `suspend {}` --- exercises/086_async3.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exercises/086_async3.zig') 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 {} } } -- cgit v1.2.3-ZIG