Skip to content

langref: incorrect use of the term "enum variant" in enums.zig #13847

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 4 commits into from
Dec 13, 2022

Conversation

gettsu
Copy link
Contributor

@gettsu gettsu commented Dec 9, 2022

Closes #13838

@gettsu gettsu changed the title langref: incorrect use of the term "enum variant" in enums.zig #13838 langref: incorrect use of the term "enum variant" in enums.zig Dec 9, 2022
@ghost
Copy link

ghost commented Dec 10, 2022

There's a third place it's used on line 3587:

// Declare a specific instance of the enum variant.
const c = Type.ok;

@perillo
Copy link
Contributor

perillo commented Dec 10, 2022

In commit 68d0474, I think enum element should be replaced with enum field.

@gettsu
Copy link
Contributor Author

gettsu commented Dec 12, 2022

In commit 68d0474, I think enum element should be replaced with enum field.

Thank you! I've fixed this!

@andrewrk andrewrk enabled auto-merge (squash) December 13, 2022 04:49
@andrewrk andrewrk disabled auto-merge December 13, 2022 04:49
@andrewrk andrewrk merged commit 175d018 into ziglang:master Dec 13, 2022
@gettsu gettsu deleted the doc branch December 13, 2022 08:28
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.

langref: incorrect use of the term "enum variant" in enums.zig
3 participants