mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
autodoc: missing fmt on Autodoc.zig
This commit is contained in:
parent
ae69dfe6e7
commit
b42bd759a7
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user