diff options
| author | Pierre Curto <pierre.curto@gmail.com> | 2022-06-25 10:59:17 +0200 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-06-27 19:48:52 +0300 |
| commit | 76f83282776151bd79715c4c00d13d06de633354 (patch) | |
| tree | 53e6a1b51b517343403cdfefb63e8a92ae1b85d5 /doc | |
| parent | 08459ff1c21d546c55e2ae954126e121ee88972e (diff) | |
| download | zig-76f83282776151bd79715c4c00d13d06de633354.tar.gz zig-76f83282776151bd79715c4c00d13d06de633354.zip | |
doc: update std.builtin.TypeInfo to std.builtin.Type
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/langref.html.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in index 1f445b1b59..9170cf5b62 100644 --- 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> |
