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. Private Constant
bad_main_ret
Private Constant
std.start.bad_main_ret
constbad_main_ret = "expected return type of main to be 'void', '!void', 'noreturn', 'u8', or '!u8'"
General error message for a malformed return type
File
start.zig:778
778
constbad_main_ret = "expected return type of main to be 'void', '!void', 'noreturn', 'u8', or '!u8'"
General error message for a malformed return type