mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 08:14:48 +00:00
langref: update the documentation of @Type
@Type is currently available for Functions.
This commit is contained in:
parent
33e5a84706
commit
d64dd75e34
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user