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#} -
{#syntax#}@Type(comptime info: std.builtin.TypeInfo) type{#endsyntax#}
+ {#syntax#}@Type(comptime info: std.builtin.Type) type{#endsyntax#}
This function is the inverse of {#link|@typeInfo#}. It reifies type information into a {#syntax#}type{#endsyntax#}. @@ -9697,7 +9697,7 @@ test "integer truncation" { {#header_close#} {#header_open|@typeInfo#} -
{#syntax#}@typeInfo(comptime T: type) std.builtin.TypeInfo{#endsyntax#}
+ {#syntax#}@typeInfo(comptime T: type) std.builtin.Type{#endsyntax#}
Provides type reflection.