From 1fa40ae498069beec74bf24d5f4b862c62f908d1 Mon Sep 17 00:00:00 2001 From: Eric Joldasov Date: Sun, 10 Dec 2023 17:38:06 +0600 Subject: [PATCH] src/ui.zig: update to language changes in Zig 0.12.0-dev.1808+69195d0cd * New `redundant inline keyword in comptime scope` error introduced in https://github.com/ziglang/zig/pull/18227 . Signed-off-by: Eric Joldasov --- src/ui.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui.zig b/src/ui.zig index 2c14ce9..93f01f4 100644 --- a/src/ui.zig +++ b/src/ui.zig @@ -280,7 +280,7 @@ const styles = [_]StyleDef{ pub const Style = lbl: { comptime var fields: [styles.len]std.builtin.Type.EnumField = undefined; - inline for (&fields, styles, 0..) |*field, s, i| { + for (&fields, styles, 0..) |*field, s, i| { field.* = .{ .name = s.name, .value = i,