diff options
| author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2026-04-06 16:57:48 +0200 |
|---|---|---|
| committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2026-04-06 16:57:48 +0200 |
| commit | 63e506586fad9458c8a881d003f57942542f2cde (patch) | |
| tree | 45ba01c5b28e0ab73ca6e5b142cb9c051585f9a4 /patches | |
| parent | 446da3ce5a1d5ea12bffe5a8b12eaad94e8afeee (diff) | |
improvements for async-io
Diffstat (limited to 'patches')
| -rw-r--r-- | patches/patches/089_async5.patch | 8 |
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}); |
