aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exercises/084_async.zig2
-rw-r--r--patches/patches/084_async.patch4
2 files changed, 4 insertions, 2 deletions
diff --git a/exercises/084_async.zig b/exercises/084_async.zig
index 6a67907..abfcac8 100644
--- a/exercises/084_async.zig
+++ b/exercises/084_async.zig
@@ -46,6 +46,8 @@
const print = @import("std").debug.print;
pub fn main() void {
+ // Additional Hint: you can assign things to '_' when you
+ // don't intend to do anything with them.
foo();
}
diff --git a/patches/patches/084_async.patch b/patches/patches/084_async.patch
index 6164775..9eba9ac 100644
--- a/patches/patches/084_async.patch
+++ b/patches/patches/084_async.patch
@@ -1,4 +1,4 @@
-49c49
+51c51
< foo();
---
-> var foo_frame = async foo();
+> _ = async foo();