aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKrzysztof Wolicki <der.teufel.mail@gmail.com>2023-06-27 19:45:57 +0000
committerLoris Cro <kappaloris@gmail.com>2023-06-28 19:03:24 +0200
commit0c1bfe271ec937b0b4fa1b7b17773dd09c27131c (patch)
treed303b69ed77e0b16267857813552e2ef86e8bc62 /src
parent2984a758046a307c0dae7f8f664b7e34828ea59f (diff)
downloadzig-0c1bfe271ec937b0b4fa1b7b17773dd09c27131c.tar.gz
zig-0c1bfe271ec937b0b4fa1b7b17773dd09c27131c.zip
autodoc: Correct a comment about types from std.builtin
Diffstat (limited to 'src')
-rw-r--r--src/Autodoc.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Autodoc.zig b/src/Autodoc.zig
index afc9b71f4f..ad90ae4c14 100644
--- a/src/Autodoc.zig
+++ b/src/Autodoc.zig
@@ -188,8 +188,8 @@ pub fn generateZirData(self: *Autodoc) !void {
.anyerror_type => .{
.ErrorSet = .{ .name = try tmpbuf.toOwnedSlice() },
},
- // should be an Enum but if we don't analyze std we don't get the ast node
- // since it's defined in std.builtin
+ // should be different types but if we don't analyze std we don't get the ast nodes etc.
+ // since they're defined in std.builtin
.calling_convention_type,
.atomic_order_type,
.atomic_rmw_op_type,