mirror of
https://git.aramjonghu.dev/AramJonghu/ziglings.git
synced 2026-09-01 08:03:29 +02:00
Update comment per feedback
This commit is contained in:
committed by
GitHub
co-authored by
GitHub
parent
27fde06d56
commit
828f96c62c
@@ -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! ***
|
||||
|
||||
Reference in New Issue
Block a user