mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
- Use an enum of all field names instead of string literals - Create a struct type with all fields optional instead of relying on anonymous struct literals This should provide better type inference, compile errors, and a (subjectively) cleaner API.