summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/patches/089_async6.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/patches/089_async6.patch b/patches/patches/089_async6.patch
new file mode 100644
index 0000000..4ba0b49
--- /dev/null
+++ b/patches/patches/089_async6.patch
@@ -0,0 +1,11 @@
+--- exercises/089_async6.zig 2026-04-02 10:25:34.016616118 +0200
++++ answers/089_async6.zig 2026-04-02 10:27:48.827144051 +0200
+@@ -47,7 +47,7 @@
+
+ // Wait for the first finisher.
+ // What Select method returns the first completed result?
+- const winner = ???;
++ const winner = try sel.await();
+
+ switch (winner) {
+ .hare => |msg| print("Hare: {s}\n", .{msg}),