Move from sentinel-terminated pointers to sentinel-terminated slices globally ([+:0] -> [:0]) (#203)
This commit is contained in:
parent
4d452b2bcd
commit
bc82c6ebd7
6 changed files with 209 additions and 209 deletions
|
|
@ -43,7 +43,7 @@ pub fn main() anyerror!void {
|
|||
rl.Color.beige,
|
||||
};
|
||||
|
||||
const colorNames = [maxColorCount][*:0]const u8{
|
||||
const colorNames = [maxColorCount][:0]const u8{
|
||||
"DARKGRAY",
|
||||
"MAROON",
|
||||
"ORANGE",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue