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 Function
char
Public Function
std.fmt.Parser.char
pubfnchar(self: *@This()) ?u8
Params
self: *@This()
File
fmt.zig:187
187188189190191192
pubfnchar(self: *@This()) ?u8 {
consti = self.i;
if (self.bytes.len - i == 0) returnnull;
self.i = i + 1;
returnself.bytes[i];
}