summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/patches/089_async5.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/patches/089_async5.patch b/patches/patches/089_async5.patch
index d2baa96..3cea4e9 100644
--- a/patches/patches/089_async5.patch
+++ b/patches/patches/089_async5.patch
@@ -1,10 +1,10 @@
---- exercises/089_async5.zig 2026-04-01 23:40:40.505855238 +0200
-+++ answers/089_async5.zig 2026-04-01 23:40:10.176236971 +0200
-@@ -40,7 +40,7 @@
+--- exercises/089_async5.zig 2026-04-06 14:38:54.443726849 +0200
++++ answers/089_async5.zig 2026-04-06 14:38:39.945438309 +0200
+@@ -46,7 +46,7 @@
// We don't want to wait 10 seconds!
// Which Future method requests cancellation AND returns the result?
-- const result = ???;
+- const result = future.???(io);
+ const result = future.cancel(io);
print("Task returned: {}\n", .{result});