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

Make enum variants more consistent between exercises #1774

Merged
merged 3 commits into from
Jul 5, 2024

Conversation

matthri
Copy link
Contributor

@matthri matthri commented Nov 14, 2023

Make sure the Point struct is already introduced in enums2 and can get reused in the following exercise.
I added an additional Resize variant since I think it is important to highlight the difference between the wrapped Point struct and an anonymous struct.

Additionally I changed the order of the listed variant types of the enums2 exercise to match the order of the variants in the code to make the connection a bit clearer.

closes #1545

@mo8it mo8it merged commit 67d8d58 into rust-lang:main Jul 5, 2024
7 checks passed
@mo8it
Copy link
Contributor

mo8it commented Jul 5, 2024

Thanks :D

I polished the exercises a bit and adjusted the solutions in 584164a.

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.

Enums3 rustling is unclear
2 participants