diff options
| author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2026-04-03 21:36:33 +0200 |
|---|---|---|
| committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2026-04-03 21:36:33 +0200 |
| commit | 966c1f83af33f6b3f2312a2e4613247097f9ae38 (patch) | |
| tree | a8c1c5a4aa8fb7bd0dfd0ead0c237f9c6fd14d88 /patches | |
| parent | 34bbe1347d86c47bea8037274e97e972203c70c6 (diff) | |
| parent | 261c12d6a22f34c08249fad4cd81bcd90eafd02b (diff) | |
Merge pull request 'fixed missing uppercase letter' (#387) from async2-fix into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/387
Diffstat (limited to 'patches')
| -rw-r--r-- | patches/patches/086_async2.patch | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/patches/patches/086_async2.patch b/patches/patches/086_async2.patch index 7506a69..9a672a6 100644 --- a/patches/patches/086_async2.patch +++ b/patches/patches/086_async2.patch @@ -1,14 +1,11 @@ ---- exercises/086_async2.zig 2026-04-01 19:22:50.017227542 +0200 -+++ answers/086_async2.zig 2026-04-01 19:21:57.569158481 +0200 -@@ -38,9 +38,9 @@ +--- exercises/086_async2.zig 2026-04-03 19:42:15.274532915 +0200 ++++ answers/086_async2.zig 2026-04-03 21:30:18.180019206 +0200 +@@ -38,7 +38,7 @@ // Now collect the result. What method on Future gives us // the value, blocking if it isn't ready yet? - const answer = future.???(io); + const answer = future.await(io); -- std.debug.print("The answer is: {}\n", .{answer}); -+ std.debug.print("the answer is: {}\n", .{answer}); + std.debug.print("The answer is: {}\n", .{answer}); } - - fn computeAnswer(a: u32, b: u32) u32 { |
