mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
Merge pull request #1038 from mitchellh/caioaao/fix-build-zig-nightly
Remove redundant `inline` key
This commit is contained in:
@ -8,7 +8,7 @@ pub const Key = key: {
|
|||||||
const field_infos = std.meta.fields(Config);
|
const field_infos = std.meta.fields(Config);
|
||||||
var enumFields: [field_infos.len]std.builtin.Type.EnumField = undefined;
|
var enumFields: [field_infos.len]std.builtin.Type.EnumField = undefined;
|
||||||
var i: usize = 0;
|
var i: usize = 0;
|
||||||
inline for (field_infos) |field| {
|
for (field_infos) |field| {
|
||||||
// Ignore fields starting with "_" since they're internal and
|
// Ignore fields starting with "_" since they're internal and
|
||||||
// not copied ever.
|
// not copied ever.
|
||||||
if (field.name[0] == '_') continue;
|
if (field.name[0] == '_') continue;
|
||||||
|
Reference in New Issue
Block a user