aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/langref.html.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in
index cd1905ebfb..6531323532 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -8167,7 +8167,7 @@ test "vector @splat" {
{#header_open|@tagName#}
<pre>{#syntax#}@tagName(value: var) []const u8{#endsyntax#}</pre>
<p>
- Converts an enum value or union value to a slice of bytes representing the name.
+ Converts an enum value or union value to a slice of bytes representing the name. Not valid for unamed fields in non-exhaustive enums.
</p>
{#header_close#}