diff --git a/doc/langref.html.in b/doc/langref.html.in index b8b7d63ee0..2d4de8f7ce 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -5588,6 +5588,7 @@ test "createFoo" {

To ensure that {#syntax#}deallocateFoo{#endsyntax#} is properly called when returning an error, you must add an {#syntax#}errdefer{#endsyntax#} outside of the block: +

{#code_begin|test|test_errdefer_block#} const std = @import("std"); const Allocator = std.mem.Allocator; @@ -9411,8 +9412,9 @@ test "integer truncation" {
  • {#link|Enum Literals#}
  • {#link|union#}
  • -

    +

    {#syntax#}@Type{#endsyntax#} is not available for {#link|Functions#}. +

    {#header_close#} {#header_open|@typeInfo#}
    {#syntax#}@typeInfo(comptime T: type) std.builtin.Type{#endsyntax#}