Update comment per feedback
This commit is contained in:
parent
bca0bca69d
commit
62e0bc88d6
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ pub fn main() void {
|
||||||
while (aliens_alive > 0) {
|
while (aliens_alive > 0) {
|
||||||
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| {
|
for (aliens) |*alien| {
|
||||||
|
|
||||||
// *** Zap the Alien Here! ***
|
// *** Zap the Alien Here! ***
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue