diff options
author | Nahua Kang <kangnahua@gmail.com> | 2022-07-24 22:57:05 +0200 |
---|---|---|
committer | Nahua Kang <kangnahua@gmail.com> | 2022-07-24 22:57:05 +0200 |
commit | bca0bca69d02d08599b9ee347c84e36ec0a5cf52 (patch) | |
tree | d12406f9a5842751fa64cbfb36ebef95c599357d /exercises/047_methods.zig | |
parent | 1a89e4ebf13756541916cf5ed47866a3dd7e74df (diff) | |
download | ziglings-bca0bca69d02d08599b9ee347c84e36ec0a5cf52.tar.gz ziglings-bca0bca69d02d08599b9ee347c84e36ec0a5cf52.tar.bz2 ziglings-bca0bca69d02d08599b9ee347c84e36ec0a5cf52.tar.xz ziglings-bca0bca69d02d08599b9ee347c84e36ec0a5cf52.zip |
Edit comment above a for loop by reference line
Diffstat (limited to 'exercises/047_methods.zig')
-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 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! *** |