mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
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.
This commit is contained in:
parent
171102ea7c
commit
9be2f76741
2 changed files with 11 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue