aboutsummaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
authorNahua <kangnahua@gmail.com>2022-07-31 18:04:56 +0200
committerGitHub <noreply@github.com>2022-07-31 18:04:56 +0200
commit62e0bc88d60bc5505173131f421ee66fb641fd4a (patch)
tree81438560281f4fcf5067a56309d81bc8d897d820 /exercises
parentbca0bca69d02d08599b9ee347c84e36ec0a5cf52 (diff)
downloadziglings-62e0bc88d60bc5505173131f421ee66fb641fd4a.tar.gz
ziglings-62e0bc88d60bc5505173131f421ee66fb641fd4a.tar.bz2
ziglings-62e0bc88d60bc5505173131f421ee66fb641fd4a.tar.xz
ziglings-62e0bc88d60bc5505173131f421ee66fb641fd4a.zip
Update comment per feedback
Diffstat (limited to 'exercises')
-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 1796ede..aee4c16 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 by reference by specifying that the capture value is a pointer
+ // Loop through every alien by reference (* makes a pointer capture value)
for (aliens) |*alien| {
// *** Zap the Alien Here! ***