diff options
Diffstat (limited to 'exercises')
-rw-r--r-- | exercises/047_methods.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/047_methods.zig b/exercises/047_methods.zig index a3ed220..0e7bfa8 100644 --- a/exercises/047_methods.zig +++ b/exercises/047_methods.zig @@ -85,7 +85,7 @@ pub fn main() void { while (aliens_alive > 0) { aliens_alive = 0; - // Loop through every alien... + // Loop through every alien by reference (* makes a pointer capture value) for (aliens) |*alien| { // *** Zap the alien with the heat ray here! *** |