authorgravatar for kappaloris@gmail.comLoris Cro <kappaloris@gmail.com> 2023-01-16 18:04:31+01:00
committergravatar for kappaloris@gmail.comLoris Cro <kappaloris@gmail.com> 2023-01-16 18:04:31+01:00
logb42bd759a7bdb6bc1d84c640d68e5384dc35776d
tree67defe5d63757a40f2055b113399b18491420cbd
parentae69dfe6e739b1b2d4ae76923d04bc69c23b07fa

autodoc: missing fmt on Autodoc.zig


1 files changed, 2 insertions(+), 2 deletions(-)

src/Autodoc.zig+2-2
...@@ -2514,12 +2514,12 @@ fn walkInstruction(...@@ -2514,12 +2514,12 @@ fn walkInstruction(
2514 if (small.has_align) extra_index += 1;2514 if (small.has_align) extra_index += 1;
25152515
2516 const var_type = try self.walkRef(file, parent_scope, parent_src, extra.data.var_type, need_type);2516 const var_type = try self.walkRef(file, parent_scope, parent_src, extra.data.var_type, need_type);
2517 2517
2518 var value: DocData.WalkResult = .{2518 var value: DocData.WalkResult = .{
2519 .typeRef = var_type.expr,2519 .typeRef = var_type.expr,
2520 .expr = .{ .undefined = .{} },2520 .expr = .{ .undefined = .{} },
2521 };2521 };
2522 2522
2523 if (small.has_init) {2523 if (small.has_init) {
2524 const var_init_ref = @intToEnum(Ref, file.zir.extra[extra_index]);2524 const var_init_ref = @intToEnum(Ref, file.zir.extra[extra_index]);
2525 const var_init = try self.walkRef(file, parent_scope, parent_src, var_init_ref, need_type);2525 const var_init = try self.walkRef(file, parent_scope, parent_src, var_init_ref, need_type);