0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/doc
Daniele Cocca 9be2f76741 typeName: amend return type to string literal
This was already the case, but the documentation failed to point out
that the returned value is of type `*const [N:0]u8`, i.e. that of a
string literal.

Also adds a behavioral test to assert that this is the case.
History 2021-06-16 22:03:02 +01:00
..
docgen.zig Breaking hash map changes for 0.8.0 2021-06-03 17:02:16 -05:00
langref.html.in typeName: amend return type to string literal 2021-06-16 22:03:02 +01:00