langref: update the documentation of @Type

@Type is currently available for Functions.
This commit is contained in:
Manlio Perillo
2023-01-25 10:28:14 +01:00
committed by Veikka Tuominen
parent 33e5a84706
commit d64dd75e34

View File

@@ -9439,10 +9439,8 @@ test "integer truncation" {
<li>{#link|enum#}</li>
<li>{#link|Enum Literals#}</li>
<li>{#link|union#}</li>
<li>{#link|Functions#}</li>
</ul>
<p>
{#syntax#}@Type{#endsyntax#} is not available for {#link|Functions#}.
</p>
{#header_close#}
{#header_open|@typeInfo#}
<pre>{#syntax#}@typeInfo(comptime T: type) std.builtin.Type{#endsyntax#}</pre>