Skip to content

Conversation

@Zirunis
Copy link
Contributor

@Zirunis Zirunis commented Nov 9, 2025

closes #25859

As @taylordotfish noticed the standard library seems to treat type aliases as types and uses TitleCase.
I have changed the relevant parts in the style guide accordingly.

I have also taken the liberty of improving the wording to make it a little simpler to parse for a human. I did this in a separate commit though so if this is unintended, only the first commit could be merged.

…and is a redundant example anyway

Co-authored-by: Ryan Liptak <[email protected]>
Copy link
Member

@squeek502 squeek502 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@squeek502 squeek502 enabled auto-merge November 10, 2025 00:53
@squeek502 squeek502 merged commit c586872 into ziglang:master Nov 10, 2025
9 checks passed
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.

style_example.zig suggests aliases of primitive types should be snake_case, but standard library differs

2 participants