aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exercises/047_methods.zig2
-rw-r--r--patches/patches/047_methods.patch6
2 files changed, 4 insertions, 4 deletions
diff --git a/exercises/047_methods.zig b/exercises/047_methods.zig
index a6367e9..048cfa0 100644
--- a/exercises/047_methods.zig
+++ b/exercises/047_methods.zig
@@ -88,7 +88,7 @@ pub fn main() void {
// Loop through every alien...
for (aliens) |*alien| {
- // *** Zap the Alien Here! ***
+ // *** Zap the alien with the heat ray here! ***
???.zap(???);
// If the alien's health is still above 0, it's still alive.
diff --git a/patches/patches/047_methods.patch b/patches/patches/047_methods.patch
index 81e733b..edd9db1 100644
--- a/patches/patches/047_methods.patch
+++ b/patches/patches/047_methods.patch
@@ -1,4 +1,4 @@
-87c87
-< ???.zap(heat_ray_strength);
+92c92
+< ???.zap(???);
---
-> alien.zap(heat_ray_strength);
+> heat_ray.zap(alien);