diff --git a/doc/langref.html.in b/doc/langref.html.in index 9aa142fc46..446011541b 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -75,6 +75,7 @@
  • Slices
  • struct
  • enum
  • +
  • union
  • switch
  • while
  • for
  • @@ -209,6 +210,7 @@
  • Invalid Error Code
  • Invalid Enum Cast
  • Incorrect Pointer Alignment
  • +
  • Wrong Union Field Access
  • Memory
  • @@ -2189,6 +2191,8 @@ Test 4/4 enum builtins...OK
  • @enumTagName
  • @memberCount
  • +

    union

    +

    TODO union documentation

    switch

    const assert = @import("std").debug.assert;
     const builtin = @import("builtin");
    @@ -5117,6 +5121,9 @@ comptime {
           

    Incorrect Pointer Alignment

    TODO

    +

    Wrong Union Field Access

    +

    TODO

    +

    Memory

    TODO: explain no default allocator in zig

    TODO: show how to use the allocator interface