aboutsummaryrefslogtreecommitdiff
path: root/exercises/047_methods.zig
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/047_methods.zig')
-rw-r--r--exercises/047_methods.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/047_methods.zig b/exercises/047_methods.zig
index b967ab8..1796ede 100644
--- a/exercises/047_methods.zig
+++ b/exercises/047_methods.zig
@@ -80,7 +80,7 @@ pub fn main() void {
while (aliens_alive > 0) {
aliens_alive = 0;
- // Loop through every alien...
+ // Loop through every alien by reference by specifying that the capture value is a pointer
for (aliens) |*alien| {
// *** Zap the Alien Here! ***