Skip to content

std.Target: Function naming cleanup #21031

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
Aug 14, 2024
Merged

Conversation

linusg
Copy link
Collaborator

@linusg linusg commented Aug 11, 2024

No description provided.

linusg added 2 commits August 12, 2024 00:34
From https://ziglang.org/documentation/master/#Names:

> If `x` is callable, and `x`'s return type is `type`, then `x` should
> be `TitleCase`.
From https://ziglang.org/documentation/master/#Names:

> If `x` is otherwise callable, then `x` should be `camelCase`.
@linusg linusg force-pushed the std-target-naming branch from 1e10abd to 4ef956e Compare August 11, 2024 23:37
@linusg
Copy link
Collaborator Author

linusg commented Aug 11, 2024

Fixed a conflict from #20964.

@linusg
Copy link
Collaborator Author

linusg commented Aug 13, 2024

CI failure looks unrelated, but if someone wants to re-run that to be sure feel free :)

@andrewrk andrewrk merged commit 78fb9c0 into ziglang:master Aug 14, 2024
8 of 10 checks passed
@andrewrk andrewrk added breaking Implementing this issue could cause existing code to no longer compile or have different behavior. standard library This issue involves writing Zig code for the standard library. release notes This PR should be mentioned in the release notes. labels Aug 14, 2024
@linusg linusg deleted the std-target-naming branch August 14, 2024 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Implementing this issue could cause existing code to no longer compile or have different behavior. release notes This PR should be mentioned in the release notes. standard library This issue involves writing Zig code for the standard library.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants