This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Enum
FieldEnum
Public Enum
std.zig.Zir.Inst.Data.FieldEnum
pubconstFieldEnum = enum
TODO this has to be kept in sync with Data which we want to be an untagged union. There is some kind of language awkwardness here and it has to do with deserializing an untagged union (in this case Data) from a file, and trying to preserve the hidden safety field.
TODO this has to be kept in sync with
Datawhich we want to be an untagged union. There is some kind of language awkwardness here and it has to do with deserializing an untagged union (in this caseData) from a file, and trying to preserve the hidden safety field.