Skip to content

Commit

Permalink
Fix link to @typeinfo return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Chriscbr authored and Sobeston committed Jul 5, 2024
1 parent 4f416aa commit 459a76f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ PascalCase, as it returns a type.
We can reflect upon types using the built-in
[`@typeInfo`](https://ziglang.org/documentation/master/#typeInfo), which takes
in a `type` and returns a tagged union. This tagged union type can be found in
[`std.builtin.TypeInfo`](https://ziglang.org/documentation/master/std/#std;builtin.TypeInfo)
[`std.builtin.Type`](https://ziglang.org/documentation/master/std/#std.builtin.Type)
(info on how to make use of imports and std later).

<CodeBlock language="zig">{ComptimeTypeinfo}</CodeBlock>
Expand Down

0 comments on commit 459a76f

Please sign in to comment.