5 ms·
'const expected = [_]u32{ 123, 67, 89, 99 };' constant array with u32, and let the compiler figure out how many of em there are (i reserve the right to change
by throwawaymaths 10mo ago
'const expected = [_]u32{ 123, 67, 89, 99 };'
constant array with u32, and let the compiler figure out how many of em there are (i reserve the right to change it in the future)
- bnolsen 9mo ago'const expected: []const u32 = &.{ 123, 67, 89, 99 };' also works.