mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
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 <bratishkaerik@landless-city.net>
This commit is contained in:
parent
f03eee5443
commit
1fa40ae498
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue