diff options
| author | Ibrahim Muftee <ibrahim@muftee.net> | 2026-06-30 00:30:23 -0500 |
|---|---|---|
| committer | Ibrahim Muftee <ibrahim@muftee.net> | 2026-06-30 00:30:23 -0500 |
| commit | 3a80e12466086b895f42e7befaa4b4428208301e (patch) | |
| tree | 54ed86c75ad342d1a12a4bdd01cbac75e95d5516 /exercises/086_async2.zig | |
| parent | f3c00ec9a5f262396d50be9694a273b665628c42 (diff) | |
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}); } |
