Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit comment to specify for reference #112

Merged
merged 2 commits into from
Jul 31, 2022
Merged

Edit comment to specify for reference #112

merged 2 commits into from
Jul 31, 2022

Conversation

nahuakang
Copy link
Contributor

Fixes #111. Let me know if this is okay :) Cheers!

@ratfactor
Copy link
Owner

@nahuakang Looks great! It's just a little long. I try to keep the Ziglings columns under 80 for small screens and split screens.

Instead of

        // Loop through every alien by reference by specifying that the capture value is a pointer

Could we shorten it to something like

        // Loop through every alien by reference (* makes a pointer capture value)

Thanks!

@nahuakang
Copy link
Contributor Author

Done :) Thanks Dave!

@ratfactor ratfactor merged commit 93ecc16 into ratfactor:main Jul 31, 2022
@ratfactor
Copy link
Owner

Perfect, thanks!

vamega pushed a commit to vamega/ziglings that referenced this pull request Jul 25, 2023
Edit comment to specify `for reference`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exercise 047 - Need explanation for for loop syntax *alien?
2 participants