Commit 0c1bfe271e

Krzysztof Wolicki <der.teufel.mail@gmail.com>
2023-06-27 21:45:57
autodoc: Correct a comment about types from std.builtin
1 parent 2984a75
Changed files (1)
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,