mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-12 17:08:39 -09:00
remove anonymous struct types
See https://github.com/ziglang/zig/pull/21817 . Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net>
This commit is contained in:
parent
3c77dc458a
commit
456cde16df
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ fn rec(ctx: *Ctx, dir: *sink.Dir, entry: *model.Entry) void {
|
||||||
pub fn run(d: *model.Dir) void {
|
pub fn run(d: *model.Dir) void {
|
||||||
const sink_threads = sink.createThreads(1);
|
const sink_threads = sink.createThreads(1);
|
||||||
|
|
||||||
var ctx = .{
|
var ctx: Ctx = .{
|
||||||
.sink = &sink_threads[0],
|
.sink = &sink_threads[0],
|
||||||
.stat = toStat(&d.entry),
|
.stat = toStat(&d.entry),
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue