diff --git a/doc/langref.html.in b/doc/langref.html.in index 84f03e8f84..2682156f5f 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -34,6 +34,7 @@
Zig source code is encoded in UTF-8. An invalid UTF-8 byte sequence results in a compile error.
Throughout all zig source code (including in comments), some codepoints are never allowed:
Converts an enum value or union value to a slice of bytes representing the name.
-@EnumTagType(T: type) -> type
+ @TagType(T: type) -> type
- Returns the integer type that is used to store the enumeration value. + For an enum, returns the integer type that is used to store the enumeration value. +
++ For a union, returns the enum type that is used to store the tag value.
@errorName(err: error) -> []u8