From 0206db8129e6dba87100958aa8d31e7c58628d2e Mon Sep 17 00:00:00 2001 From: Chris Boesch Date: Fri, 3 Apr 2026 21:27:55 +0200 Subject: [PATCH 1/2] fixed missing uppercase letter --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig b/build.zig index d3d91ee..3cddb61 100644 --- a/build.zig +++ b/build.zig @@ -1137,7 +1137,7 @@ const exercises = [_]Exercise{ }, .{ .main_file = "086_async2.zig", - .output = "Computing... the answer is: 42", + .output = "Computing... The answer is: 42", }, .{ .main_file = "087_async3.zig", From 261c12d6a22f34c08249fad4cd81bcd90eafd02b Mon Sep 17 00:00:00 2001 From: Chris Boesch Date: Fri, 3 Apr 2026 21:30:49 +0200 Subject: [PATCH 2/2] fixed missing uppercase letter --- patches/patches/086_async2.patch | 11 ++++------- 1 file 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 {