Skip to content

std.crypto.codecs: fixed Base64 and Hex const name #23566

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

Closed
wants to merge 3 commits into from

Conversation

deatil
Copy link

@deatil deatil commented Apr 14, 2025

@alexrp alexrp requested a review from jedisct1 April 14, 2025 03:18
@nektro
Copy link
Contributor

nektro commented Apr 14, 2025

imo codecs.zig is what's wrong because the structs dont have any fields so theyre namespaces according to the style guide

@deatil
Copy link
Author

deatil commented Apr 27, 2025

@jedisct1

@jedisct1
Copy link
Contributor

LGTM!

@alexrp
Copy link
Member

alexrp commented Apr 27, 2025

Meghan is right though. Since these are namespaces, not types, they should be lower case.

@deatil
Copy link
Author

deatil commented Apr 27, 2025

Meghan is right though. Since these are namespaces, not types, they should be lower case.

the is right.so need change https://github.com/ziglang/zig/blob/master/lib/std/crypto/codecs.zig#L2 const name.

@jedisct1 @alexrp

@linusg
Copy link
Collaborator

linusg commented Apr 27, 2025

-> #23706

@linusg linusg closed this Apr 27, 2025
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.

5 participants