summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2026-04-06 18:50:57 +0200
committerChris Boesch <chrboesch@noreply.codeberg.org>2026-04-06 18:50:57 +0200
commitaeeb18931da3c8444fc85db4da43e72a0ad2a46a (patch)
treee8456b00f26f7a7306c3e90935fe1d8e240edddb /patches
parent63e506586fad9458c8a881d003f57942542f2cde (diff)
improvements for async-io
Diffstat (limited to 'patches')
-rw-r--r--patches/patches/090_async6.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/patches/090_async6.patch b/patches/patches/090_async6.patch
index 5ac777b..6289708 100644
--- a/patches/patches/090_async6.patch
+++ b/patches/patches/090_async6.patch
@@ -1,10 +1,10 @@
---- exercises/090_async6.zig 2026-04-02 10:25:34.016616118 +0200
-+++ answers/090_async6.zig 2026-04-02 10:27:48.827144051 +0200
-@@ -47,7 +47,7 @@
+--- exercises/090_async6.zig 2026-04-06 18:49:37.232023422 +0200
++++ answers/090_async6.zig 2026-04-06 18:49:22.189720687 +0200
+@@ -52,7 +52,7 @@
// Wait for the first finisher.
// What Select method returns the first completed result?
-- const winner = ???;
+- const winner = try sel.???();
+ const winner = try sel.await();
switch (winner) {