From b42bd759a7bdb6bc1d84c640d68e5384dc35776d Mon Sep 17 00:00:00 2001 From: Loris Cro Date: Mon, 16 Jan 2023 18:04:31 +0100 Subject: [PATCH] autodoc: missing fmt on Autodoc.zig --- src/Autodoc.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Autodoc.zig b/src/Autodoc.zig index b368626847..7ade9638fa 100644 --- a/src/Autodoc.zig +++ b/src/Autodoc.zig @@ -2514,12 +2514,12 @@ fn walkInstruction( if (small.has_align) extra_index += 1; const var_type = try self.walkRef(file, parent_scope, parent_src, extra.data.var_type, need_type); - + var value: DocData.WalkResult = .{ .typeRef = var_type.expr, .expr = .{ .undefined = .{} }, }; - + if (small.has_init) { const var_init_ref = @intToEnum(Ref, file.zir.extra[extra_index]); const var_init = try self.walkRef(file, parent_scope, parent_src, var_init_ref, need_type);