diff options
Diffstat (limited to 'exercises/086_async2.zig')
| -rw-r--r-- | exercises/086_async2.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/086_async2.zig b/exercises/086_async2.zig index cf376e2..89a061d 100644 --- a/exercises/086_async2.zig +++ b/exercises/086_async2.zig @@ -44,7 +44,7 @@ pub fn main(init: std.process.Init) !void { // Now collect the result. What method on Future gives us // the value, blocking until it's ready? - const answer = future.???(io); + const answer = future.await(io); print("The answer is: {}\n", .{answer}); } |
