Sobeston / zig.guide

Repo for https://zig.guide content. Get up to speed with Zig quickly.
https://zig.guide
MIT License
688 stars 178 forks source link

Update 17.union-tagged.zig #218

Closed codedread closed 7 months ago

codedread commented 8 months ago

Make it clearer that they are captured values and not type names or union properties

Sobeston commented 7 months ago

I can see what you're going for here, but I decided against it as byte and float aren't zig types, and "Val" might make people think that primitive values are being captured, when it's pointers being captured.