Remove redundant inline key

This breaks in zig version `0.12.0-dev.1808+69195d0cd` (current head)
This commit is contained in:
Caio Oliveira
2023-12-09 20:03:26 -03:00
committed by GitHub
parent c20ce263eb
commit e17427f0c7

View File

@ -8,7 +8,7 @@ pub const Key = key: {
const field_infos = std.meta.fields(Config);
var enumFields: [field_infos.len]std.builtin.Type.EnumField = undefined;
var i: usize = 0;
inline for (field_infos) |field| {
for (field_infos) |field| {
// Ignore fields starting with "_" since they're internal and
// not copied ever.
if (field.name[0] == '_') continue;