We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The enum explanation with respect to namespaced function accessible with dot syntax. What does this mean? How am I able to access the method on both an element in the enum, but also on the type itself? I think this should be explained a bit further. https://github.com/Sobeston/zig.guide/blob/master/website/docs/01-language-basics/15-enums.mdx https://zig.guide/language-basics/enums
Specificaly this is confusing:
try expect(Suit.spades.isClubs() == Suit.isClubs(.spades));
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The enum explanation with respect to namespaced function accessible with dot syntax. What does this mean? How am I able to access the method on both an element in the enum, but also on the type itself? I think this should be explained a bit further.
https://github.com/Sobeston/zig.guide/blob/master/website/docs/01-language-basics/15-enums.mdx
https://zig.guide/language-basics/enums
Specificaly this is confusing:
The text was updated successfully, but these errors were encountered: