aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit828f96c62c8633dd3755195e82c7d1499c8a83da (patch)
tree81438560281f4fcf5067a56309d81bc8d897d820 /exercises
parent27fde06d56986711e4a856486933198aaa5459d7 (diff)
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! ***