aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authoremekoi <emekankurumeh@outlook.com>2020-04-11 01:01:37 -0500
committeremekoi <emekankurumeh@outlook.com>2020-04-11 01:01:37 -0500
commit1a4f46ae7d185e14bc3ff76f078fc27cfff58e8f (patch)
tree3aa43cec00b6dfbfce93eadd50bb20e28c9db021 /doc
parenta6e288d5fe51d5373fa995b5eec2dd2325c1ea9f (diff)
downloadzig-1a4f46ae7d185e14bc3ff76f078fc27cfff58e8f.tar.gz
zig-1a4f46ae7d185e14bc3ff76f078fc27cfff58e8f.zip
add note about `@tagName` for non-exhaustive enums
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#}