diff --git a/website/versioned_docs/version-0.11/01-language-basics/24-comptime.md b/website/versioned_docs/version-0.11/01-language-basics/24-comptime.md index 0a434f5..23d81f5 100644 --- a/website/versioned_docs/version-0.11/01-language-basics/24-comptime.md +++ b/website/versioned_docs/version-0.11/01-language-basics/24-comptime.md @@ -72,7 +72,7 @@ test "returning 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). ```zig diff --git a/website/versioned_docs/version-0.12/01-language-basics/24-comptime.mdx b/website/versioned_docs/version-0.12/01-language-basics/24-comptime.mdx index 0c30e37..fa5e502 100644 --- a/website/versioned_docs/version-0.12/01-language-basics/24-comptime.mdx +++ b/website/versioned_docs/version-0.12/01-language-basics/24-comptime.mdx @@ -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). {ComptimeTypeinfo}