refactor: remove unnecessary comptime keyword

This commit is contained in:
2025-05-26 14:51:44 +02:00
parent 80a36a9947
commit 2572b57697
2 changed files with 6 additions and 6 deletions

View File

@@ -53,7 +53,7 @@ pub fn main() !void {
defer box.deinit();
inline for (std.meta.fields(zterm.Color)) |field| {
if (comptime field.value == 0) continue; // zterm.Color.default == 0 -> skip
if (field.value == 0) continue; // zterm.Color.default == 0 -> skip
try box.append(try App.Container.init(allocator, .{ .rectangle = .{ .fill = @enumFromInt(field.value) } }, .{}));
}
var scrollable: App.Scrollable = .init(box, .disabled);