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:
Eric Joldasov 2025-02-09 14:04:00 +05:00
parent 4847a753ad
commit 5bbaeb2508
No known key found for this signature in database
GPG key ID: 5C9C69060686B588

View file

@ -56,7 +56,7 @@ fn rec(ctx: *Ctx, dir: *sink.Dir, entry: *model.Entry) void {
pub fn run(d: *model.Dir) void {
const sink_threads = sink.createThreads(1);
var ctx = .{
var ctx: Ctx = .{
.sink = &sink_threads[0],
.stat = toStat(&d.entry),
};