diff options
author | Dave Gauer <dave@ratfactor.com> | 2022-07-31 11:32:51 -0400 |
---|---|---|
committer | Dave Gauer <dave@ratfactor.com> | 2022-07-31 11:32:51 -0400 |
commit | ae78706f45b618a71fea2d73130b0aadb8bbd910 (patch) | |
tree | de833279e471d1136fb7e0cc987df3eaf8e8af89 | |
parent | cf0fa9b9a0bdca658cc15624903fae884cefe947 (diff) | |
download | ziglings-ae78706f45b618a71fea2d73130b0aadb8bbd910.tar.gz ziglings-ae78706f45b618a71fea2d73130b0aadb8bbd910.tar.bz2 ziglings-ae78706f45b618a71fea2d73130b0aadb8bbd910.tar.xz ziglings-ae78706f45b618a71fea2d73130b0aadb8bbd910.zip |
Update ex 047 comment and patch
-rw-r--r-- | exercises/047_methods.zig | 2 | ||||
-rw-r--r-- | patches/patches/047_methods.patch | 6 |
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); |