zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 76f83282776151bd79715c4c00d13d06de633354 (tree)
parent 08459ff1c21d546c55e2ae954126e121ee88972e
Author: Pierre Curto <pierre.curto@gmail.com>
Date:   Sat, 25 Jun 2022 10:59:17 +0200

doc: update std.builtin.TypeInfo to std.builtin.Type

Diffstat:
Mdoc/langref.html.in | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/langref.html.in b/doc/langref.html.in @@ -9655,7 +9655,7 @@ test "integer truncation" { {#header_close#} {#header_open|@Type#} - <pre>{#syntax#}@Type(comptime info: std.builtin.TypeInfo) type{#endsyntax#}</pre> + <pre>{#syntax#}@Type(comptime info: std.builtin.Type) type{#endsyntax#}</pre> <p> This function is the inverse of {#link|@typeInfo#}. It reifies type information into a {#syntax#}type{#endsyntax#}. @@ -9697,7 +9697,7 @@ test "integer truncation" { </ul> {#header_close#} {#header_open|@typeInfo#} - <pre>{#syntax#}@typeInfo(comptime T: type) std.builtin.TypeInfo{#endsyntax#}</pre> + <pre>{#syntax#}@typeInfo(comptime T: type) std.builtin.Type{#endsyntax#}</pre> <p> Provides type reflection. </p>