Skip to content

Commit 76f8328

Browse files
pierrecVexu
authored andcommitted
doc: update std.builtin.TypeInfo to std.builtin.Type
1 parent 08459ff commit 76f8328

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/langref.html.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9655,7 +9655,7 @@ test "integer truncation" {
96559655
{#header_close#}
96569656

96579657
{#header_open|@Type#}
9658-
<pre>{#syntax#}@Type(comptime info: std.builtin.TypeInfo) type{#endsyntax#}</pre>
9658+
<pre>{#syntax#}@Type(comptime info: std.builtin.Type) type{#endsyntax#}</pre>
96599659
<p>
96609660
This function is the inverse of {#link|@typeInfo#}. It reifies type information
96619661
into a {#syntax#}type{#endsyntax#}.
@@ -9697,7 +9697,7 @@ test "integer truncation" {
96979697
</ul>
96989698
{#header_close#}
96999699
{#header_open|@typeInfo#}
9700-
<pre>{#syntax#}@typeInfo(comptime T: type) std.builtin.TypeInfo{#endsyntax#}</pre>
9700+
<pre>{#syntax#}@typeInfo(comptime T: type) std.builtin.Type{#endsyntax#}</pre>
97019701
<p>
97029702
Provides type reflection.
97039703
</p>

0 commit comments

Comments
 (0)