Skip to content

Added enumerate function in control flow.md - for loop section #65

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

Merged
merged 2 commits into from
Feb 1, 2024

Conversation

Akshat-Vashisht
Copy link
Contributor

The for-loop explanation should also include the enumerate function, which can be shown as the use case of group.iter()

This way we can teach them how to access the index and value simultaneously in an array

Also added a missing space in line 274

@Akshat-Vashisht Akshat-Vashisht changed the title Added enumerate function in for loop Added enumerate function in explanation section of control flow - for loop Oct 21, 2023
@Akshat-Vashisht Akshat-Vashisht changed the title Added enumerate function in explanation section of control flow - for loop Added enumerate function in control flow.md - for loop section Oct 21, 2023
@dumindu dumindu merged commit 3fd076c into learning-rust:main Feb 1, 2024
@dumindu
Copy link
Contributor

dumindu commented Feb 1, 2024

Thanks. I was busy with other side projects.

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.

2 participants