diff options
| author | Dave Gauer <[email protected]> | 2022-07-31 11:32:51 -0400 |
|---|---|---|
| committer | Dave Gauer <[email protected]> | 2022-07-31 11:32:51 -0400 |
| commit | c3c610acf07298eec313ebf1923defdac7b3de67 (patch) | |
| tree | de833279e471d1136fb7e0cc987df3eaf8e8af89 | |
| parent | 392a3ca9c617c564e29ff19e5ac97c23de5809d6 (diff) | |
| download | ziglings-c3c610acf07298eec313ebf1923defdac7b3de67.tar.xz ziglings-c3c610acf07298eec313ebf1923defdac7b3de67.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); |
